Hi all,
I have one Main Report and two subreports which is included in the main report.
In both the subreports iam usin a count query which i will be displaying in the main report.In the Main report i need to add those two values whih i got from two different sub reports.
I have one Main Report and two subreports which is included in the main report.
In both the subreports iam usin a count query which i will be displaying in the main report.In the Main report i need to add those two values whih i got from two different sub reports.
4 Answers:
Posted on August 17, 2006 at 6:33am
make a Variable in the main report for each of both values. make a subreport return value and connect the value from the subreport with the Variable of the main report. add the variables and display them in time= "band".
In subreport(others) you can set the subreport return value.
In subreport(others) you can set the subreport return value.
Posted on August 18, 2006 at 11:01am
Do i have that option in IReport 0.4.0.
because in subreport(others) i have an option to enter the subreport parameters.
if yes can u explain me how to do that?????
Here is the scenario
In main report i have two sub reports and the subreport queries return a single value(totally 2 values).I will display those two values in the main report and finally i hav to add those displayed values in the main report.........
How do we go about it???????
Thanks in advance
Senthil
Post edited by: senthil_teen, at: 2006/08/18 11:05
because in subreport(others) i have an option to enter the subreport parameters.
if yes can u explain me how to do that?????
Here is the scenario
In main report i have two sub reports and the subreport queries return a single value(totally 2 values).I will display those two values in the main report and finally i hav to add those displayed values in the main report.........
How do we go about it???????
Thanks in advance
Senthil
Post edited by: senthil_teen, at: 2006/08/18 11:05
Posted on August 21, 2006 at 6:24am
First of all, 0.4.0 is totally outdated, actual Version is 1.2.5, go and get it from http://jasperforge.org/sf/projects/ireport
Then you can use subreport return values, like I wrote in the last post.
Then you can use subreport return values, like I wrote in the last post.