Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you pass Crystal 10 parameters to subreports

Status
Not open for further replies.

BruceBussell

Programmer
Jul 14, 2003
49
US

How do you pass Crystal 10 parameters to subreports.

I would like to pass a Fiscal Period parameter from my main report to a Payable To Date Subreport, so the S/R knows which Fiscal Period to use when it selects records, but Crystal won't let you use a Shared Variable containing a parameter in the Subreport Selection Filter.

Apparently I may have to do my Fiscal Period selection in a normal formula, and not the Record Selection Formula, in the Subreport
 
You could create the same parameter in the subreport, adding it to your subreport record selection formula, and then link the two parameters together. In the subreport links screen, be sure to use the dropdown in the lower left hand corner to select {?fiscalperiod}, not the default {?pm-?fiscalperiod}.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top