Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Export
Message
From
29/09/2003 14:55:44
 
 
To
29/09/2003 14:07:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Re: Export
Miscellaneous
Thread ID:
00833177
Message ID:
00833266
Views:
25
Look at genhtml.prg in the vfp directory.
*!* m.lcOutToFile = file name to output the html rendered report
*!* m.lcThisRptFrx = report form to use 
genhtml(m.lcOutToFile,LOCFILE(m.lcThisRptFrx),0)
Unfortunately, the html output will likely not look just like the printed output as it uses report form ... to ascii to output the report and you will lose some formatting. I use both FRX2Word and Print2pdf to allow different output options for report to file which will render the report just like the printed output.

HTH



>Thanks for the reply Elmer. I will check out the class. I noticed where you can export to html format using the file dialog if the report has already been saved. Does anyone have code, that will simulate this process (saving the report and then saving it as an html file)? I'm just looking for various solutions. Thanks again for the help.
Previous
Reply
Map
View

Click here to load this message in the networking platform