Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Output HTML
Message
De
15/01/2000 10:28:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00318553
Message ID:
00318555
Vues:
27
>Is there any way to output a report as HTML.
>I want to send reports and Invoices to other users so that they can view them easily in a browser (They will not have VFP)
>
>regards,
>Gerard

VFP 6 comes with a GenHTML class that will create an HTML file from a VFP report, but I don't recommend it, because it depends on the TO ASCII clause of the REPORT FORM command, which comes with its own host of problems (especially dangerous for reports carrying financial data, because various printer drivers will truncate output differently, making the report risky to use). Besides, ANY tool that converts a VFP report to HTML will be making a "best effort" at report recreation, because the two formats are completely different. So even if you do find one that works better than GenHTML, it will have to guess at page layout and so on, and you can be guaranteed that the output will be similar, but not identical.

Best way, IMHO, is to create PDF files from your reports. This is fairly easy with the Adobe ACrobat printer driver (you have to purchase Adobe Acrobat). There is a freeware class at www.west-wind.com that makes it even easier. You can be assured that the printed output from the PDF will be functionally identical to the direct output for your report, and the reader software is free.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform