Article View: alt.lang.basic
Article #365Re: Basic File handling
From: Robert Schoolfield
Date: Wed, 30 Dec 1992 05:41
Date: Wed, 30 Dec 1992 05:41
34 lines
2346 bytes
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
-----------------------------------------------------------------------
Technical Details
Message-ID:
<C0255G.1rv@cscns.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!csn!cns!robertsReferences:
<1992Dec29.052817.19220@nuscc.nus.sg>Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!csn!cns!roberts From: roberts@cscns.com (Robert Schoolfield) Subject: Re: Basic File handling Message-ID: <C0255G.1rv@cscns.com> Sender: news@cscns.com (News) Nntp-Posting-Host: cns Organization: Community_News_Service X-Newsreader: TIN [version 1.1 PL8] References: <1992Dec29.052817.19220@nuscc.nus.sg> Date: Wed, 30 Dec 1992 05:41:38 GMT Lines: 34