Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert dat files to dbf, how do i?
Message
From
24/03/1997 16:44:24
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
24/03/1997 14:36:58
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00025427
Message ID:
00025459
Views:
29
>I have a wealth of information in .dat files that i would
>like to use in a VFP application. I do not wish to use
>low level file functions if there is a software package
>that has .dat as the native file format. Please let me
>know what that software is or failing that, what other
>software will read a .dat file. I am willing to convert from ascii to dbf but do not know how to convert a .dat file to ascii. Please help by emailing brighton@flash.net.
>Thanks in advance.

If your dat file stores information in ASCII format (you can tell by opening the file with your MODI COMM command and the information shows no high order characters, just regular letters and numbers) you can create a table that corresponds to the structure of your dat file. Each corresponding field need to be the same length. Then use the new dbf file and do an APPEND FROM datfile.DAT TYPE SDF.

If the information is in packed format you can either write it to a text file from Basic or you can get a utility like one from Monarch that can convert it into a dbf for you

Hope this helps
Larry
L.A.Long
ProgRes
lalong1@charter.net
Previous
Reply
Map
View

Click here to load this message in the networking platform