2005 IR Help Posted August 27, 2006 Share Posted August 27, 2006 By: Andy Wadsworth - fritztdog Accessing subreport variables from master 2004-12-02 02:07 I have a master report that I desire to display a total that is calculated by summing up various fields retrieved from a subreport. Is there a way for the master report to reference these fields or values from the subreport? My master/subreport layout is something like the following where I want Total Size to be the sum of the individual sizes from the subreport: Master { ... Total Size: 5000 ... SubReport { ID Size A 400 B 3500 C 1100 } } Unfortuneately, it's not an option to move the Total display into the subreport... Thanks, -Andy W. By: Seth Ladd - picklematrix RE: Accessing subreport variables from master 2004-12-02 13:00 Does this help? http://jasperreports.sourceforge.net/tips.tricks.html#returnvalues I have the same problem, but I'm going to try the above suggestion. Seth By: Andy Wadsworth - fritztdog RE: Accessing subreport variables from master 2004-12-03 14:51 That worked like a charm. Thanks for the pointer! -Andy. 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