Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting a txt file into a dbf
Message
 
To
16/08/2006 09:27:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01145972
Message ID:
01145974
Views:
15
>Hi all,
>
>i have a problem. I have a txt file that i have to put into a dbf. Each line in the txt file is a new record in the dbf.
>
>my txt file looks like this :
>
>version = 2
>03
>00
>01/02/09
>09:35
>xyzadr test
>55
>
>result is like this
>dbf = mydef
>record 1 = 'version = 2'
>record 2 = '03'
>record 3 = '00'
>...
>
>Does anybody knows how to handle this problem ?
>
>thnx

And what you want?
What is the record Delimiter? VFP import files and set record delimiter to be CR LF. So you must parse this file by yourself.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform