Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Export report to excel, word or pdf file
Message
From
12/01/2003 12:15:07
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
12/01/2003 11:17:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00740788
Message ID:
00740796
Views:
16
>Hi.... I am trying to export the report to excel or word by this command:
>report form report_name to file file_name.doc ascii. However it does not appear in a proper way such as preview in VFP. How can I print report to excel or word document?

Kusnardi,

When you send a report to an ASCII file you lose all formatting. That's why the code Hilmar referenced was written.

Another alternative is to get a PDF printer driver and choose that "printer" from the regular VFP/Windows print dialog. You'll get a PDF file which will duplicate a hardcopy report generated from your report form.

Some related Wiki topics:
http://fox.wikis.com/wc.dll?Wiki~PDFdrivers~SoftwareEng
http://fox.wikis.com/wc.dll?Wiki~UsingAmyuniPDFConverterWithVFP~VFP
http://fox.wikis.com/wc.dll?Wiki~Win2PDF~VFP
Previous
Reply
Map
View

Click here to load this message in the networking platform