senthil_teen Posted August 17, 2006 Share Posted August 17, 2006 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. Link to comment Share on other sites More sharing options...
JulEgner Posted August 17, 2006 Share Posted August 17, 2006 Ok, that is possible. What is working now, and what is still to do? Link to comment Share on other sites More sharing options...
JulEgner Posted August 17, 2006 Share Posted August 17, 2006 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. Link to comment Share on other sites More sharing options...
senthil_teen Posted August 18, 2006 Author Share Posted August 18, 2006 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 advanceSenthilPost edited by: senthil_teen, at: 2006/08/18 11:05 Link to comment Share on other sites More sharing options...
JulEgner Posted August 21, 2006 Share Posted August 21, 2006 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. 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