Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dat file extension
Message
From
28/05/2014 07:23:38
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01600762
Message ID:
01600767
Views:
44
>How can i convert a .dat file extension file to either txt or dbf in VFP?

.dat (short for data) is used by many applications, but unfortunately there is no uniform standard. So you will have to open the file in for instance notepad or a hex editor, and see how the fields and records are separated and delimited. Are the text fields surrounded by ", ' or any other character? This is what I mean by delimited. Are the fields separated by any character, like comma or a semicolon? Is any padding used? Or does each field have a fixed length but no character to separate the fields? Is a special character, for instance chr(12) and/or chr(10), used to separate each record?

If you need more help, please show us enough of the contents to identify at least the first two records.
Previous
Reply
Map
View

Click here to load this message in the networking platform