🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by NG CHIK KANG Tue, 29 Dec 1992 05:28
Basic File handling
#363
Author: NG CHIK KANG
Date: Tue, 29 Dec 1992 05:28
14 lines
1163 bytes
I am interested in find a imple method to handle files under basic.
My application requires me to keep tracks of customer's data as well as
Invoices. How do I maintain a reasonably large database with Basic?
Especially when the data such as address contains "commas -," and
chr$(10) and chr$(13).
Another problem is that the length of each invoice is not fixed. Some
peopl buy for items than others. So obviously I couldnt use records.
I figure that binary file access is the only way. Any suggestions would
be greatly appreciated.

Another consideration is whether it is network compatible.

I am wondering if I could write the database into a DBASE compatible
file format (.DBF). anyone with any information?
Re: Basic File handling
#365
Author: Robert Schoolfield
Date: Wed, 30 Dec 1992 05:41
34 lines
2346 bytes
NG CHIK KANG (sci20194@nusunix1.nus.sg) wrote:
: I am interested in find a imple method to handle files under basic.
: My application requires me to keep tracks of customer's data as well as
: Invoices. How do I maintain a reasonably large database with Basic?
: Especially when the data such as address contains "commas -," and
: chr$(10) and chr$(13).
: Another problem is that the length of each invoice is not fixed. Some
: peopl buy for items than others. So obviously I couldnt use records.
: I figure that binary file access is the only way. Any suggestions would
: be greatly appreciated.

: Another consideration is whether it is network compatible.

: I am wondering if I could write the database into a DBASE compatible
: file format (.DBF). anyone with any information?

--

I have written several similar applications using PDS 7.1, which has a
good reliable ISAM database method internal to the language - but it is
not network compatible.  Used the database to hold client/inventory data.
One field points to a seperate disk file which is the invoice in ASCII text.

There is a replacement ISAM for PDS called E-Tree, from EllTech Technologies,
that can do networks, and has a variable length field option, which can hold
an invoice, along with the CRs and LFs.  There are many other libraries
available, a third party library is definately the way go, here.  
 
-----------------------------------------------------------------------
    Robert Schoolfield             |      Voice: 719.550.1724
    Electronic Systems Design      |      Cellular: 719.661.6353
    PO Box 26431                   |      BBS: 719.550.1696 8-N-1 2400
    Colorado Springs CO 80936      |      InterNet: roberts@cscns.com
-----------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads