toxy Posted October 4, 2011 Share Posted October 4, 2011 Hi again,I'll try it again - perhapes someone can help...?A subreport fills a variable in the main report - this works well, I can print it out correctly at each line(=call of the subreport)Now I have to add this values for a group-sum... this should be trivial, but I can't manage it.I created a new variable for this sum and I think it's logical to define it with:Calculation: sumReset type: groupIncrement type: column...and I tried every(?) combination too: Reset type: report/column/page and Incr.type: none/report/group/page... nothing works. So I suppose my logic is basically wrong - that's I'm asking for!BTW: I'm working with iReports 4.1.1 Thanks a lot,ChristofPost Edited by toxy at 10/04/2011 08:49 Link to comment Share on other sites More sharing options...
toxy Posted October 4, 2011 Author Share Posted October 4, 2011 next step in never ending story:I've got some sums, have a look at the attachment....Every hint is welcome!Christof Link to comment Share on other sites More sharing options...
toxy Posted October 5, 2011 Author Share Posted October 5, 2011 I've found it... so I want to share my learning process :-)the line with the subreport (see picture in my last posting) is also a group and i put it in the group footer - with the above mentioned "success". Putting it into the header solves the problem... oh, it's so easy ;-) christof 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