>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!!
You have to set the output file first and then activate redirection.
SET ALTERNATE TO &lcfilename ADDITIVE
SET ALTERNATE ON
??'RUNDATE: '
??'OPERATOR: '
SET ALTERNATE OFF
SET ALTERNATE TO
Michael McLain