Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Output report into html
Message
From
07/09/2005 18:06:19
 
 
To
07/09/2005 16:12:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01047448
Message ID:
01047535
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform