Sarah,
If you're using VFP6, you could use:
COPY TO < your file > TYPE CSV
HTH
>I want to give my users the option of exporting data to various file formats and have a text merge routine from my fox2.6 days which creates a CSV file with a header row with the column names in it.
>
>I've investigated the Copy To command but it doesn't seem to let me specify that the header row gets output. Have I missed something? Is there another command? or do I keep using my old routine?
>
>Sarah
Daniel