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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subreport parameters

Status
Not open for further replies.

faisalsham

Programmer
Mar 11, 2005
18
0
0
US
Ok, this seems very simple but not sure I'm having a difficult time.

I have a main report with the following 2 parameters:
1. Start Date
2. End Date

I also have a subreport in which I want to use the same 2 parameters as the main report.

How can I pass these parameters to my subreport so the subreport can use them as well?

thanks in advance for your help!
 
Link the start parameter in the main to the start in the subreport, and the end to the end.

Depending upon your Crystal version, this should be straightforward.

The alternative is to link the parameters to some date in the subreport, then go into the subreport->Report->Edit Selection Formula-Record and change the = to >= and <=

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top