Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameter values
Message
De
16/10/2002 12:32:04
 
 
À
16/10/2002 10:15:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00711704
Message ID:
00711823
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform