Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data export to .txt
Message
From
12/08/2004 15:23:56
John Baird
Coatesville, Pennsylvania, United States
 
 
To
12/08/2004 14:22:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00932830
Message ID:
00932899
Views:
22
If the text file is fixed length, you need to create a structure analagous to the structure of the text file, then append the data from the textfile, i.e. APPEND FROM mytextfile.txt SDF

If the text file is delimited, you need to filetostr(mytextfile) or use fopen and fgets and then process each item, inserting it into the table you created prior.



>Hi John and Cetin,
>
>For me, I would like to convert *.txt file to *.dbf, please assist me how to do it ?
>
>Tia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform