Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Geneate HTML from report
Message
De
10/01/2005 14:24:27
 
 
À
10/01/2005 13:44:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00975714
Message ID:
00975754
Vues:
25
>Mark,
>
>>Can someone please explain how to generate an html from VFP report?
>
>Since you indicated VFP9, try this for starters (and read the excellent info in the VFP9 help file -- if you have the release version).
LOCAL olistener
>* get a reference to the HTMLListener class
>DO (_reportoutput) WITH 5, olistener
>* or you can directly instantiate the HTMLListener
>* from the FFC _reportlistener.vcx
>* olistener = NEWOBJECT("HTMLListener", ;
>*   HOME(0)+"ffc\_reportlistener.vcx")
>* turn off UI feedback and user prompts at end of run
>olistener.quietmode=.T.
>* specify my own filename and location
>olistener.targetfilename = "c:\htmltest.htm"
>* run a report referencing the configured listener
>REPORT FORM (_samples+"solution\reports\ledger.frx") ;
>  OBJECT olistener
>* show result in the browser
>RUN /n Explorer.exe c:\htmltest.htm
Thanks. It works
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform