home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7657 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.4 KB

  1. 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
  2. From: ferris@turtle.fisher.com
  3. Newsgroups: comp.databases
  4. Subject: Re: Reading dBase III+ Files
  5. Message-ID: <1992Nov5.091756.106@turtle.fisher.com>
  6. Date: 5 Nov 92 09:17:54 CDT
  7. References: <1992Nov4.175300.2787@vela.acs.oakland.edu>
  8. Organization: Fisher Controls International, Austin, TX
  9. Lines: 18
  10.  
  11. > I am trying to export data from a dBase III+ file into a text file or into 
  12. > my own data file.  The export feature only makes a "PFS file."  If I can find
  13. > any information on how to port the data to a text file or getting the 
  14. > variable record structure so I can read it in Pascal or C data structure
  15. > format.
  16. > If there is a program that does this, information would be very welcome!
  17. You can use debug to load the dbf file and examine the header in the file.
  18. The first part of the file is given over to the field definitions. This area
  19. is then followed by fixed length records where the fields are in the
  20. same order as the database structure. Look out for the formats of the
  21. various field types. Numeric fields include a decimal point and I forget
  22. where the sign will fall for a negative value, probably in front.
  23.  
  24. It takes a little ingenuity, but you can decode the records using C or
  25. Pascal or even Clipper.
  26.