Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting a txt file into a dbf
Message
 
À
16/08/2006 09:27:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01145972
Message ID:
01145974
Vues:
16
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform