Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Output report into html
Message
De
07/09/2005 18:06:19
 
 
À
07/09/2005 16:12:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01047448
Message ID:
01047535
Vues:
13
Mark
this is a small part of an article written by Cathy Pountney
It has what you want.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen9/html/VFP9Reports2.asp


HTML Output
Another class included in the _ReportListener class library is one called htmlListener, which outputs a report to HTML. Here is an example of how to use this class.

*-- Make sure the HTML file doesn't exist
ERASE MyHTMLOutput.HTM

*-- Create the Listener class
SET CLASSLIB TO HOME() + 'FFC\_REPORTLISTENER'
ox = CREATEOBJECT('htmlListener')

*-- Set some properties
ox.TargetFileName = 'MyHTMLOutput'

*-- Run the report
REPORT FORM accounts OBJECT ox

Good luck
Hernan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform