Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel output
Message
De
18/02/2014 17:34:13
 
 
À
18/02/2014 17:12:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01594619
Message ID:
01594629
Vues:
72
COPY TO MyCSV.CSV TYPE SDF - should work if it's just one column of numbers.

Bear in mind that the definition of a CSV file is that the first row *is* column headers, and some applications that import CSVs expect that to be the case. Are you completely sure the client wants files with a .CSV extension but no column headers?

>the header is gone, but this time I have:
>
>
>'10001'
>'10002'
>
>
>instead of
>
>
>10001
>10002
>
>
>
>
>
>
>
>
>>>It has to be Excel csv file, this is the request from the client :(
>>
>>All CSVs are Excel files :-)
>>Try this:
>>
>>USE YourTable
>>COPY TO mytxt.csv DELIMITED WITH '' WITH CHARACTER ';'
>>
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform