General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
You may issue:
go bott
copy to ... csv next 1 && get the header
Then you will be able to combain the header with the contents of the delim file.
Sure there are other solutions as well, but AFAIK, there is no VFP command that allows you to do it with one line of code.
>I'm pretty sure the answer to this one is "write it yourself", but I just wanted to check first. :-)
>
>If you COPY TO file XLS, you get field headers. If you do COPY TO textfile DELIMITED WITH TAB, though, you just get the data. Is there any way to get around this short of manually writing out the fields as the first record? Thanks.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only