Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML formating using Genhtml
Message
From
21/10/1998 16:29:44
 
 
To
21/10/1998 09:37:22
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00148769
Message ID:
00149098
Views:
25
>>Is there a way to pass the graphical lines and Boxes in a report to a HTML format using GENHTML.DBF? Would like to publish reports from application to Website.
>
>Hmm... looks like you will have to modify genhtml or extend it to do this.
>

Good luck. The way _htmlreport works is it prints the report to ASCII and converts the resulting text to HTML. Pretty weak. Printing to ASCII doesn't work reliably for anything but the simplest reports anyway, so this solution AFAIC is useless.

>Other than that... you might have to go with using Adobe/PDF format.

Which, IMHO is an excellent route. Adobe PDFWriter comes with a virtual printer that creates a pdf when you print to it. There is a little code involved in modifying the adobe ini file before you print, but it works out really well. We are serving up reports on our website like this, and they turn out great. Virtually no formatting is lost in the conversion process, and the reports end up looking pretty much identical to how you laid them out in VFP, lines, pictures and all.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform