There are 2 possibilities here, depending on whether the "Sub Total" is a running total of all records to date, or a total of only those records since the previous Sub Total.
Scenario 1 (Sub total - all records)
Create a second Details section and insert a Running Total.
Then Conditionally Suppress the "Details b" section using the following code:
Code:
Remainder(RecordNumber,24) <> 0
Scenario 2 (Sub total - records since previous sub total)
Create a second Details section and insert the following formula:
Code:
WhileprintingRecords;
Global NumberVar x := x + {Table.Data}
In the conditional suppression formula for "Details b" section inert the following code:
Code:
WhileprintingRecords;
Global NumberVar x;
If Remainder(RecordNumber,24) = 0
Then x := 0
Else x := x;
Remainder(RecordNumber,24) <> 0
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.