I'm not sure why you say "only one good way". Filetostr() should handle this very well, and you don't have to keep up with pointer and Low Level Stuff like that. Maybe I'm missing something? As we say here in the South, Splainit to me. :)
Jeff
>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!!
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com