Hi to All,
Iam new in iReport, i have created two subReports & they are working fine with a Date parameter in queryString but the problem is how to add these two subReports into a Mater Report & how to view this Master Report through parameter.
Please help me by giving an example.
4 Answers:
Posted on July 2, 2007 at 11:34am
Hi i worked on subreports do one thing on the toolbar there is subreport icon,when u click on that it will ask u to which report u want to create the subreport so u can give the report name to which report u want to make it as a subreport based on that particular date parameter....
may be its working try that once bye
may be its working try that once bye
Posted on July 2, 2007 at 11:36am
Hi i worked on subreports do one thing on the toolbar there is subreport icon,when u click on that it will ask u to which report u want to create the subreport so u can give the report name to which report u want to make it as a subreport based on that particular date parameter....
may be its working try that once bye
may be its working try that once bye
Posted on July 2, 2007 at 1:01pm
Thanks subrahmanyam,
I have created the subgroup & subgroup icon appeared. But how can i pass the value of Date in the Master Report so that the subgroup report can access that value & show the result.
Please do me favour. I stuck in the middle. Can I have an example, please.
I have created the subgroup & subgroup icon appeared. But how can i pass the value of Date in the Master Report so that the subgroup report can access that value & show the result.
Please do me favour. I stuck in the middle. Can I have an example, please.
Posted on July 25, 2007 at 6:41pm
Hi,
1. Try to add a parameter of type "DATE in your case". that should be in your master report.
2. Click on the properties of the subreport. click on subreport ("Other") tab, than click on "ADD".
2.1 Add the Parameter name as you name it in you master report.
2.2 Pass the paramter value $P{your paramter name}
3. Remember also if your master query is filtered by date to include that in your PARAMETERs.
4. If you are passing a field, you just type the field name instead of the parameter name.
1. Try to add a parameter of type "DATE in your case". that should be in your master report.
2. Click on the properties of the subreport. click on subreport ("Other") tab, than click on "ADD".
2.1 Add the Parameter name as you name it in you master report.
2.2 Pass the paramter value $P{your paramter name}
3. Remember also if your master query is filtered by date to include that in your PARAMETERs.
4. If you are passing a field, you just type the field name instead of the parameter name.