Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Output of a report to a specific file format
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00166289
Message ID:
00166323
Views:
14
>Hi Michiel,
>
>You can send the report to an ascii file using:
>REPORT FORM myReport TO FILE myFileName.txt ASCII
>
>>Hello,
>>
>>We use FoxPro Windows v2.6 for certain applications. Now we have a situation where we want to output a report we created with FoxPro to a file instead of to the screen or the printer.
>>
>>We would like to output it as a Excel format or any other format (like ASCII or whatever).
>>
>>Is this possible? And if so, how can we achive this?
>>
>>Thanks in advance!

ASCII keyword was added at VFP 5.0. Alternative is if you base your reports on queries instead of several tables you can send the cursor (or single table) to excel for example with COPY TO myxls.xls TYPE XLS.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform