Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Report Engine Replacement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP Report Engine Replacement
Divers
Thread ID:
00718672
Message ID:
00718672
Vues:
77
Well, I have finally released my VCX Class Library for use with my Report Engine/Preview ActiveX Control. You can download the Self-Extracting install file at:
http://www.mindseyeinc.com/ReportEngine/MEIReportEngineVCX.EXE

This will install the latest MEIReportEngine1.OCX file and my VFP Report Engine VCX library as well.

To check out the control run the following PRG.

ReportEngineDemo.PRG

All that is in the PRG is the following:

SET CLASSLIB TO LIBS\MEIReportEngine
oRPT = CREATEOBJECT('MEIReportEngine')
oRPT.DemoIT()

If you want to run a VFP Report call the following Method:
oRPT.ReportFormPreview(cReportFileName,nShowWindow,nLeft,nTop,nWidth,nHeight)

The Optional Parameters are:
nShowWindow - 0 - Show Report Preview in VFP Main Window, 2 - Show Report Preview as Top Level Form
nLeft, nTop, nWidth, nHeight - These specify where the Report Preview will be displayed as well as the size.

You can also Append another Report to the first report by just calling the ReportFormPreview() Method again with a different VFP Report. The appended Report can be of a Different Page Size and/or Orientation.

Once you have run the DemoIT(), you can Save the Report to a PDF Document by clicking on the Save To PDF Button at the top of the Control

Let me know what you think?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform