Ettya Posted July 18, 2007 Share Posted July 18, 2007 I have created a report that calls three sub-reports.Each sub report resides inside a report group.There is one parameter that is defined in each of the Sub Reports and in the calling report.I assumed that the value of this parameter will be sent to each of the sub-reports but it doesn’t seem to happen (when I run the main report, the sub reports are empty with no data).Is there anything I should do in order to make sure that the parameter will be passed to the sub-reports?? Link to comment Share on other sites More sharing options...
jmurray Posted July 18, 2007 Share Posted July 18, 2007 You need to establish a link between the parameter in the main report and the parameter in the sub-report. To do this you edit the subreport's properties in the main report and set up the parameter settings under the Subreport Parameters tab. Link to comment Share on other sites More sharing options...
Ettya Posted July 19, 2007 Author Share Posted July 19, 2007 If I have a parameter called "X" both in main and in Sub report and I want the sub-report parameter to get teh same value set to the main report parameter.Is all I need to do is just add a line whereParameter = X and Expression = $P{X} ?? Thank you, Link to comment Share on other sites More sharing options...
jmurray Posted July 19, 2007 Share Posted July 19, 2007 That's all you should need to do. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now