Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New Report Control for Creating, Previewing and Printing
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00698551
Message ID:
00700326
Views:
15
I have added a link to my website that has a compiled VFP Demo using the Report Object ActiveX Control in both a Standard Child Window and in an form set to display As Top-Level Form. The Demo is running my VFP Report Engine code to process an FRX. I have not enabled the Stretch With Overflow and Float yet since I am still cleaning them up. However, it processes most everything else including Pictures, Shapes and Lines. At the moment you must have some code in the INIT Method of your Reports Data Environment to open the tables prior to the Report being processed by my engine. My VFP Report Engine will parse the DE Record in the FRX, retrieve the INIT Method code, COMPILE it and then run it prior to running the Report.

There is also a Setup Page you can display in the Demo to set some of the Properties that can be set on the ActiveX control at Runtime and at Design time that affect PDF Document saving such as JPEG and BITMAP Compression Quality as well as PDF Document Margin and the ability to Hide/Show Toolbar buttons in the PREVIEW and X and Y Page Offset in Preview that is normally used internally to adjust for the selected printer. Clicking on the VFP Script button uses VFP Code to programmatically generate a report using the ActiveX Controls Methods to load text and shapes into the control. Also, note that the VFP Script also places a Report Object Field onto the page that displays a Dynamic PAGETOTAL property at the bottom right corner of the page. If you check the PROCESSINBACKGROUND Property, it will process the VFP Script much faster. Additionally, as it is loading more pages and you are watching the current page, it will update the PAGETOTAL property on the "static" page. This ability eliminates the need for making two passes on a report to display PAGE X OF Y.


You will need to download the latest version of the Report Object ActiveX Control and register it.

Download the ActiveX Control (Version 1.0.0.53)
http://www.mindseyeinc.com/VFPTools/ReportPreview/MEIReportEngine1.ocx

VFP Demo of the Engine and Control for VFP7 (57KB EXE)
http://www.mindseyeinc.com/VFPTools/ReportPreview/ReportObjectDemoVFP7.exe

Click Here to Download a VFP Demo of the Engine and Control for VFP6 (54KB EXE)
http://www.mindseyeinc.com/VFPTools/ReportPreview/ReportObjectDemoVFP6.exe

These APPS are compiled for each of the different runtimes for VFP Versions 6 and 7.

Thanks for trying it out.
Previous
Reply
Map
View

Click here to load this message in the networking platform