Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Caption in a COPY TO command
Message
 
À
13/12/2003 10:26:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00858813
Message ID:
00859443
Vues:
19
>>Can you have the Captions output in a COPY TO filename TYPE CSV, so that you get on the 1st row the CAPTION names of the fields, instead of the smaller fieldnames??
>>
>>Thanks!
>>
>>Tommy
>
>No without editing. However you might invent your CSV writer. ie :
>
>lcHeaders = 'My Header 1,my Header 2, Customer ID,...'
>copy to myOutPut.txt type delimited with ""
>StrToFile(lcHeaders+chr(13)+chr(10)+FileToStr('myOutPut.txt'),'myOutPut.txt')
>
>Cetin

Sounds great.... I will give it a try!

Tommy
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform