Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00880768
Message ID:
00880771
Views:
16
>I have used the following code to set the value in the main report but do not know how to set the value for the parameter field within the sub report.
>Any help wil be appreciated!


Gary,

All you have to do is get a reference to the subreport by using the OpenSubReport() method. For example:
oSubReport = oReport.OpenSubReport("MySubReport")
Since oSubReport is then a report object, you should have access to the same properties and collections in the subreport as you normally would in the main parent report.

HTH.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform