on 01-12-2015 12:16 PM
Is there a way of adding a total in the main report to a total in a sub report with the result shown in the main report?
Hi Susan,
Yes, using shared variables.
E.g: The formula in the Main Report would be:
shared numbervar x;
x := x + {@Total_field};
Formula inside the Subreport would be:
shared numbervar x;
x := x + {@Total_field_in_Subreport};
Finally, the Grand Total formula on the Main Report would be:
shared numbervar x;
The Final Total should be in a section 'below' the section that holds the Subreport.
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.