Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comma delimited
Message
De
22/09/2000 23:29:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00420044
Message ID:
00420146
Vues:
18
Ryan,

>I have been asked to take the data in a table and turn it into an ASCII comma delimited text file. Does anyone know how this can be done?

USE mytable
COPY TO myfile TYPE DELIMITED

This creates myfile.txt, which is comma-delimited. You can specify the file extension if you want, but otherwise it defaults to .txt. If you need less than the entire file, you can set a filter before the COPY, or add a FOR clause on the COPY command.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform