Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing to a text file
Message
 
 
To
18/08/1999 08:46:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00254904
Message ID:
00255032
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform