In subReport Formula field
@Stuff Total
WhilePrintingRecords;
Shared NumberVar OrderTotal := Sum ({Orders.Order Amount})
In MainReport Formula Field
@GetTotalFromSubReport
WhilePrintingRecords;
Shared NumberVar OrderTotal;
NumberVar Total1998Amount;
Total1998Amount := Total1998Amount + OrderTotal;
Total1998Amount
No comments:
Post a Comment