.......get grand totals from a sub report onto the main report, then how to use those fields in an expression to subtract one from the other.
Thank you all..
Snookless
In the sub reoprt, you have to use type the folling:
Shared numberVar intX;
intX:= sum({field}]); instead of just use grand sum
Afterwards, in the main report, you have to tyep the following:
Shared numberVar intX;
intX
You can display the Grand total of the sub report in this way as long as the session that contains formula field in the main report is placed underneath the session that contains the sub report.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.