Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Use CRViewer To Preview my Reports
Message
From
16/01/2003 09:33:30
 
 
To
16/01/2003 02:46:39
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00742258
Message ID:
00742346
Views:
14
>How Can i use Crystal Viewer(CRViewer) to view my reports through VFP7.0?
>
>What Are the Stepts in order to use it?
>
>What Commands Should i include in my code ?
>
>Tnx

First you need to drop CR Viewer on a form.

Assume a reference to the Viewer object is oForm.Viewer you would do something like this...

SYS(2333, 1)
oCry = createobj('CrystalRuntime.Application')
oReport = oCry.OpenReport('reportform.rpt')
oForm.Viewer.ReportSource = oReport
oForm.Viewer.ViewReport()
Previous
Reply
Map
View

Click here to load this message in the networking platform