Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include VFP report in document
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00922095
Message ID:
00922108
Views:
15
>How about printing the reports in TIFF format, instead of HTML?
>
>Create a new ReportListener class. Add a property called, 'cFileName', and put the following code in the OutputPage method.
>
>
>IF tnDeviceType == -1
>  IF tnPageNo = 1
>    tnDeviceType = 101
>  ELSE
>    tnDeviceType = 201
>  ENDIF
>  This.OutputPage(tnPageNo, This.cFileName, tnDeviceType)
>  NODEFAULT
>ENDIF
>
>
>You can get even more complex with the code and create separate TIFF files if needed, but this gets you started on the idea. To run the report, use this code.
>
>
>ox = CREATEOBJECT('MyTIFFListener')
>ox.cFileName = 'MyNewFile'
>REPORT FORM MyReport OBJECT ox
>
Cathy,

I'm currently including reports as PDF files in my docs. I don't see any adventages using tiff instead of pdf.

I want to include report in text format so I can edit it easily.

Isn't there any possibility to edit html files created by VFP 9 REPORT command in what-you-see-is-what-you-get mode ?
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform