home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!swrinde!news.dell.com!fisher.com!turtle.fisher.com!ferris
- From: ferris@turtle.fisher.com
- Newsgroups: comp.databases
- Subject: Re: Reading dBase III+ Files
- Message-ID: <1992Nov5.091756.106@turtle.fisher.com>
- Date: 5 Nov 92 09:17:54 CDT
- References: <1992Nov4.175300.2787@vela.acs.oakland.edu>
- Organization: Fisher Controls International, Austin, TX
- Lines: 18
-
- > I am trying to export data from a dBase III+ file into a text file or into
- > my own data file. The export feature only makes a "PFS file." If I can find
- > any information on how to port the data to a text file or getting the
- > variable record structure so I can read it in Pascal or C data structure
- > format.
- >
- > If there is a program that does this, information would be very welcome!
- >
- >
- You can use debug to load the dbf file and examine the header in the file.
- The first part of the file is given over to the field definitions. This area
- is then followed by fixed length records where the fields are in the
- same order as the database structure. Look out for the formats of the
- various field types. Numeric fields include a decimal point and I forget
- where the sign will fall for a negative value, probably in front.
-
- It takes a little ingenuity, but you can decode the records using C or
- Pascal or even Clipper.
-