Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML Output
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00288611
Message ID:
00288823
Views:
10
>>I am looking for a way to generate a HTML file from the report writer. Anybody know of a way to do this? Perhaps a special printer driver or a com control.
>>
>>Even the ability to contert ascii text to html would help but that would not solve the entire issue.
>
>In the back on my mind I was thinking that with VFP 5 or 6 MS provided a way to generate HTML from a report form. I dont think it was elaborate and it may have provided a cheap HTML look. I will investigate on my side and if I find anything I will post it. But you might look at some of the wizards provided with VFP and see if one may be web publishing or HTML generating.

As Ed pointed out, the only thing that comes with VFP is the FFC GenHTML class. But to be blunt, the method that this class uses to generate HTML sucks. It uses the REPORT FORM's TO ASCII clause, which is riddled with problems on its own, and then sucks up the resulting text, and wraps it with PRE tags. So it's relying on a shady process anyway.

Markus Egger's GenRepoX has an HTML driver that supposedly works pretty well, and rumour is, he's working on a better one now.

Crystal Reports is the best choice for this, but is not always an option, depending on how much is invested in VFP reports already- AFAIK, there is no conversoin tool.

Finally, if the implementation allows it, I prefer Acrobat PDF files for viewing VFP reports in a browser. Creation couldn't be simpler- the full versoin of Acrobat comes with a virtual printer that creates the file for you, and Rick Strahl has published a freeware class (wwPDF) that makes handling the Acrobat settings a snap.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform