Only one good way to do it: Use FCREATE(), FPUTS(), et al...the low level file commands. Very easy and you have total control over the output.
>I have to export data from a FoxPro database using VFP 6.0 in an unusual format to a text file. What commands can I use to send hard code as well as my data to the text file? I am currently trying:
>
>SET ALTERNATE ON
>SET ALTERNATE TO &lcfilename ADDITIVE
>??'RUNDATE: '
>??'OPERATOR: '
>
>at the beginning of my routine, and it's not working! Any ideas?
>
>Thanks!!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05