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

  1. From: thwaites@hpsgm2.sgp.hp.com (Damien THWAITES)
  2. Date: Sun, 8 Nov 1992 10:59:58 GMT
  3. Subject: HELP: Loading text file to FoxPro database
  4. Message-ID: <50990003@hpsgm2.sgp.hp.com>
  5. Organization: HP Singapore Notes-Server
  6. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!scd.hp.com!hpscdm!hplextra!hpcc05!hpsgm2!thwaites
  7. Newsgroups: comp.databases
  8. Lines: 18
  9.  
  10.  
  11. I have an ASCII text file that contains one field from a database per line.
  12. As there are 20 fields in each record, there are 20 lines in the file for
  13. each record. I want to load this text file into a FoxPro database with
  14. the same number of fields (20) per record.
  15.  
  16. How can I read this text file into a FoxPro database ? I tried using the
  17. APPEND FROM command but FoxPro loaded each line of the text file as a
  18. separate record. I need FoxPro to place each of the 20 lines into the
  19. corresponding database record field. Any pointers are much appreciated !!
  20.  
  21.  
  22. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  23. Damien Thwaites                           Tel    : (65) 279-8947
  24. Information Technology Department         Email  : thwaites@hpsgm2.sgp.hp.com
  25. Hewlett-Packard Singapore                 Fax    : (65) 279-2862
  26. 1150 Depot Road, SINGAPORE 0410.          HPDesk : Damien Thwaites /HP3200/09
  27. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28.