Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert many text files to dbf
Message
 
 
À
01/12/2008 04:04:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01364783
Message ID:
01364799
Vues:
12
>hi all,
> if i have text files as t1,t2,t5,t35,t58 ,
>
>if i create many tables with same fields(columns),and delimter type?
>how i can
>append many of text files to those tables, via same code
>
>
>
>
>*mstr empty table have fields as column1 to column32
>CLOSE all
>COPY FILE mstr.dbf TO t1.dbf
>COPY FILE mstr.dbf TO t2.dbf
>COPY FILE mstr.dbf TO t5.dbf
>COPY FILE mstr.dbf TO t35.dbf
>COPY FILE mstr.dbf TO t58.dbf
>
>
>thanks
>
>
Try
APPEND FROM TextFile1 Field1 type delimited
APPEND FROM TextFile2 Field2 type delimited
etc.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform