Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 19 Sep 2011 at 4:11am
you have to make it a shared variable from the sub report to the main report and pass teh value back to the main report (on a detail B section) which can then be summed per group or for the whole report.
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 19 Sep 2011 at 6:54am
YOu need to sum in both palces.
in the subreport (SR) you need to sum in order to pass one final value for that instance of the SR to the main report (MR).
In the MR you then also need to sum each row (passed summed sr value).
All this being said, i hate subreports (especially on the detail section) and avoid them whenever possible. Sometimes you can't and this might be that time but they tend to kill performance. I try to get everyting into the main report. Then suppress items/rows/groups I do not need. I then use conditionaly running totals (others prefer variable formulas) to get summarized values.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum