Okay, then just create a formula like this:
whileprintingrecords;
shared numbervar yoursubtotal := sum({table.amt});
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
-LB