Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing HTML on report
Message
De
22/11/2002 14:12:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Printing HTML on report
Divers
Thread ID:
00725940
Message ID:
00725940
Vues:
56
Does anyone know how to render HTML contained in a memo field of a table on a report? IOW, I don't want the actual text of the HTML printed, I want to see the rendered HTML in the report.

I tried putting the HTML into a General field with IE as the OLE object, the idea being that I could use an OLE object in a report to show the rendered HTML. I tried the following code:
append general HTMLNOTES data trim(NOTES) class Shell.Explorer
where HTMLNOTES is the General field and NOTES is the memo field containing HTML. However, this gives a "only insertable objects are allowed in General fields" error.

You can do this with RTF text by specifying "RichText.RichTextCtrl" as the class, so I was hoping to do the same thing with HTML. I'd appreciate any ideas.

Doug
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform