Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to COMMA DELIMTED but no quotes around char
Message
 
 
À
23/01/2002 14:17:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00609214
Message ID:
00609218
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>I've forgotten the trick of doing a
>
>copy to test
>
>and end up with a comma delimited text file that DOES NOT have the quotes around the text fields.
>
>In Excel, save as csv gets me what I want, that is, no quotes.

In VFP 7
COPY TO mytxt.txt DELIMITED WITH "" WITH CHARACTER ','
For previous versions of VFP see mskb#Q277725 and faq #8016. If text file isn't big you can use combination of Filetostr(), chrtran() and strtofile() to get rid of quotes after file is created.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform