Hi,
I am using CR10.
I have a main report that I need to grab subtotals out of subreport for. I got the Report Grand Total to come out of the subreport, but haven't been successful at bringing the subtotals up yet. The subreport is in the first group footer. This report has 7 groups with each needing a return from the subreport for the subtotal for each group in the main report. The groups of course are the same groupings.
So, if I had an area group and I want to match the total for that area to the area in the main report I did this:
In the subreport I made a subtotal for the group by inserting a subtotal.
Then I made a formula to display the subtotal:
WHILEPRINTINGRECORDS;
SHARED NUMBERVAR AREAINSINC:= Sum ({Command.INSTALL INCOME}, {Command.AREA}) and placed this in the group footer of the subreport.
In the Main report I built the formula:
WHILEPRINTINGRECORDS;
SHARED NUMBERVAR AREAINSINC;
But I don't get any results for that group subtotal in the main report. How do I solve this?
Thanks muffntuf
I am using CR10.
I have a main report that I need to grab subtotals out of subreport for. I got the Report Grand Total to come out of the subreport, but haven't been successful at bringing the subtotals up yet. The subreport is in the first group footer. This report has 7 groups with each needing a return from the subreport for the subtotal for each group in the main report. The groups of course are the same groupings.
So, if I had an area group and I want to match the total for that area to the area in the main report I did this:
In the subreport I made a subtotal for the group by inserting a subtotal.
Then I made a formula to display the subtotal:
WHILEPRINTINGRECORDS;
SHARED NUMBERVAR AREAINSINC:= Sum ({Command.INSTALL INCOME}, {Command.AREA}) and placed this in the group footer of the subreport.
In the Main report I built the formula:
WHILEPRINTINGRECORDS;
SHARED NUMBERVAR AREAINSINC;
But I don't get any results for that group subtotal in the main report. How do I solve this?
Thanks muffntuf