Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I send report to textfile
Message
From
16/08/2002 15:30:22
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00690492
Message ID:
00690497
Views:
12
Nick,

Use the COPY TO ... command.
*&  save the cursor as TXT file.
COPY TO "rptresult.txt" TYPE SDF

*&  save the cursor as Excel file.
COPY TO "rptresult.xls" TYPE XL5
HTH

Wan


>I have an sql statement that gives a result in the cursor and then my report prints out based on that cursor. Is there any way I can send the report to a textfile or excel file?
>
>Thanks
>Nick Patel
Previous
Reply
Map
View

Click here to load this message in the networking platform