Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dat file extension
Message
De
28/05/2014 07:23:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01600762
Message ID:
01600767
Vues:
45
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform