Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameter values
Message
From
16/10/2002 12:32:04
 
 
To
16/10/2002 10:15:08
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00711704
Message ID:
00711823
Views:
18
The article on my web site shows you how to handle parameters.

BTW, the line
CRReport = createobject("CrystalRuntime.Report")
in your code is not needed.

>I have created a VFP application utilizing the report viewer to allow users to view and print these reports.
> I use the following code.
>
>Public CRApplication
>Public CRReport
>this.text1.refresh
>CRApplication = createobject("CrystalRuntime.Application")
>CRReport = createobject("CrystalRuntime.Report")
>thisreport = '"'+alltrim(crystal_reports.filepath)+'"'
>CRReport = CRApplication.openreport(&thisreport)
>thisform.pageframe1.page2.rptviewer.reportsource=CRReport
>thisform.pageframe1.page2.rptviewer.enableexportbutton=.t.
>thisform.pageframe1.page2.rptviewer.enablepopupmenu=.t.
>thisform.pageframe1.page2.rptviewer.enablezoomcontrol=.t.
>thisform.pageframe1.page2.rptviewer.enablesearchexpertbutton=.t.
>thisform.pageframe1.page2.rptviewer.viewreport
>
>I need to pass parameter values to the report. Can someone lead me in the right direction.
>
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform