Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY TO command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00947368
Message ID:
00947371
Vues:
14
>Hello,
>
>How to use COPY TO command from my table.dbf ?
>
>mytable.dbf
>
>field1 field2
>
>aaaaaa bbbbbb
>cccccc dddddd
>
>to have the output exactly the same as input without any lines before or
>after the fields and also no column before the field1 too.
>_____________
>aaaaaa bbbbbb
>cccccc dddddd
>
>
>Any help will be greatly appreciated
>
>TIA

Look at the help on the COPY TO command. There are a number of options, which may or may not meet your needs. For example
COPY TO < filename > FIELDS field1, field2 TYPE SDF
will yield

aaaaaabbbbbb
ccccccdddddd

that can easily be appended into a table. Other options, such as DELIMITED WITH, yield different results.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform