morechocolate
Technical User
I have a subreport where I have a formula that subtotals on group footer 1 which is Table.Cusip. The formula is
WhilePrintingRecords;
Shared NumberVar CusipTotal := Sum({Table.Quantity},{Table.Cusip})
Running the report used for the subreport I can see the formula is working fine. In the main report in group footer 1 I have the following formula
WhilePrintingRecords;
Shared NumberVar CusipTotal;
I placed this formula in group footer 1 of the main report rather than showing the subtotal from the subreport it is showing the last record from the cusip group in the subreport.
I cannot figure out what the problem is.
Any ideas?
Thanks
WhilePrintingRecords;
Shared NumberVar CusipTotal := Sum({Table.Quantity},{Table.Cusip})
Running the report used for the subreport I can see the formula is working fine. In the main report in group footer 1 I have the following formula
WhilePrintingRecords;
Shared NumberVar CusipTotal;
I placed this formula in group footer 1 of the main report rather than showing the subtotal from the subreport it is showing the last record from the cusip group in the subreport.
I cannot figure out what the problem is.
Any ideas?
Thanks