If you copy to CSV the field names will be added to the start of the file.  

COPY TO MyFile TYPE CSV.

If you do APPEND FROM Myfile TYPE CSV then the system will assume that the
first line is the field names and not import it - fine if that is the case
but embarrassing if the first line is data.  (I speak from experience <g>)

John Weller
01380 723235
07976 393631  

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of G Gambill
> Sent: 01 August 2009 17:24
> To: [email protected]
> Subject: Create a CSV file with VFP
> 
> I need to create a ".CSV" file using VFP. Opening a CSV file 
> with notepad allows me to infer that is is a simple comma 
> delimited .TXT file and can be created easily with low level 
> code. The fact that it is called other than TXT (.CSV) tells 
> me otherwise.
> 
>  Anyone have experience and/or suggestions here?
> 
>



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/14748018e9964e0f900f386c441dc...@wessex1
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to