I have a subtotal in the report footer of a subreport. I also want to print that subreport on the main report in a report footer. Can I assign it to a variable to return to the main report? And if so how?
Please explain in what report section your subreport is located, and what you want to see in the report footer--is it just one value or a set of values?
Place this formula on the subreport. Then you can reference it in a section below the one in which the subreport is located, e.g., report footer_b, by using a formula:
whileprintingrecords;
shared numbervar yoursubtotal; //display only
Or for a calculation:
whileprintingrecords;
shared numbervar yoursubtotal;
yoursubtotal * .05 //sample calculation using the shared variable
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.