Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO DELIMITED - field headers?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01016259
Message ID:
01016277
Views:
10
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
Map
View

Click here to load this message in the networking platform