Stella740pl
Programmer
Hello everyone!
We have a number of reports that we usually print out, send the data to Excel, and also save to PDF using Acrobat Distiller.
We don't distribute the applications, it is for in-house use only. We distribute, in this case, ready reports in the formats mentioned above.
I should also mention that we have VFP6, and the management doesn't have any plans to upgrade any time soon.
Recently, we got a request to output the reports, with all the formatting (not data only) to HTML. It should be done in a fairly simple and quick way (no massive rewrites).
Search shows that many people recommend using 3rd party applications, like XFRX or FRX2ANY. While we might consider that eventually, there are also questions of legality of using those for business needs, licensing, cost, speed of approval paperwork, etc.
So the preferred method, for now, would be something built in VFP6.
I found that _frx2html class exists (and dropped it on the project), but I am not sure how does this work, since I've never used it before, and didn’t find good examples on using it. Can someone please show a code sample on using this class and comment on possible pitfalls or quality of the output?
At the same time, report preview seems to have an option Save as HTML, which looks like an ideal solution for our needs - if it wasn't disabled at all times. What appears to be the problem? How to make this work?
I would appreciate your answers, suggestions and comments.
Thanks.
Stella