Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IMPORT command
Message
De
03/11/2000 14:05:59
 
 
À
03/11/2000 13:57:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00437709
Message ID:
00437786
Vues:
22
>>>Is it possible, through code and not by using the wizard, to import a text file (TAB separated) into VFP using the IMPORT command and thus, creating a table?
>>>
>>
>>If you know the structure you'll be receiving in the delimited file,
>>
>>CREATE TABLE mytable (field1 c(10), field2, n(5,2), etc....)
>>APPEND FROM mytextfile.txt TYPE DELIMITED
>
>So, just for personnal knowledge, there is no way to do this task using the command IMPORT?
>
>Stephane.

Not from a text file.

Also, since it would be tab separated my suggestion should have been
APPEND FROM mytextfile.txt TYPE DELIMITED WITH TAB
w/o the WITH TAB, it assumes comma delimited.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform