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!

Linking the parameters in a main report to a subreport

Status
Not open for further replies.

wgg

Programmer
Apr 25, 2001
47
BB
Hello All

I have created a report with parameter fields FromDate and Todate. Hence the report prints transactions which falls within these date ranges. I've also inserted a subreport which requires the same parameter fields, but the subreport does not pick up the parameter fields unless I insert the FromDate and ToDate fields in the subreport. This is very Cumbersome, as 4 parameter fields will now have to be filled. Is it possible to use just 2 parameter fields in the main report body and let the subreport link to those two parameter fields? If so how can I do that? Thank you.

WGG
 
Link the subreport to the main report using the date parameters
 
Thanks, will give it a try.

wgg
 
The subreport will use the main report parameters if you link the subreport to the main report. I suggest using a field like account number or something similiar.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top