Welcome Guest | My Membership | Login

Read and Writing Windows files from D3


Summary

Reading and Writing to Windows files is pretty simple within MultiValue Database application This article talks about SUBROUTINE (Store procedures) that can be used to make your job easier. The routines included in this article have a few limitations that you need to be aware of, though. They will read the complete Windows Files into memory as a dynamic array. This is not a problem with small files, but if you are working with large file (3MB, 4MB, or 10MB), it can become a problem. If you need to work with large files, then you will need to read the file in chunks, which is another article all together.

Another limitation has to do with binary data or blobs. MultiValue Database are designed to handle business data for storage, processing, reporting, mining, as well as other business tasks. Since binary data is unstructured and is generally stored in the OS File System, not the database, MultiValue SUBROUTINES (stored procedures) don't handle them well. If you want to know how to work with and store binary data within a MultiValue database, the please see the articles relating to Binary/Blob data.

Read More...

Social Media Login

Use your existing social media logins to access your Membership/Subscription information.

Existing Magazine/Newsletter Subscriber (Quick Access)

If you are an existing International Spectrum subscriber, but have not registered with the website, please enter the Reference Code found on the magazine or in the e-mails you receive from us.

Magazine Reference Code location

Spectrum Login

New Subscriber

If you currently do not receive the Magazine or other emails from International Spectrum, select the "Subscribe" button below to create an new membership account.


 

Find out more about the different between the FREE and a Professional Membership at:
Compare Account Options

 

# # #          # # #          # # #

 

Related Articles

  • IS.HTTPCLIENT - Using CURL and BASIC's EXECUTE

    Company: International Spectrum Database: D3, jBase, mv*Base, OpenQM, UniData, UniVerse

    CURL is an open source tools and can be found on every version of Linux being distributed. CURL can be find as compiled binaries as well as compliable source code. Many software applications integrate CURL using the libcurl, but in this case we will be using the curl command line routine using the command-line switches, standard-in, and standard-out to transmit information between MultiValue BASIC and CURL.

  • Read and Writing Unix/Linux Files from D3

    Database: D3

    This article will shows SUBROUTINE (stored procedures) code for reading and writing to Linux/Unix files from D3.

  • Read and Writing Unix/Linux Files from UniVerse/UniData

    Database: UniData, UniVerse

    This article will shows SUBROUTINE (stored procedures) code for reading and writing to Linux/Unix files from UniVerse or UniData.

  • Read and Writing Windows Files from UniVerse/UniData

    Database: UniData, UniVerse

    This article will shows SUBROUTINE (stored procedures) code writing to Windows files from UniVerse or UniData.

  • Communicate with SQL - D3 Code Sample

    Database: D3

    You can using a combination of a D3 BASIC program and perl to communicate with an SQL database. This sample code will show you how you can do this.


Return to top