Hi nigelr99,
One trick to obtain a total of a calculated field in group footers and headers is to use “running sum”. Please try to duplicate your field with the expression, and set the property “running sum: yes” for the copy. Verify that it does indeed cumulate the amounts you want, and that it shows the correct total on the last header.
Say this new text box is called txtRunningSum, you can then add a new text box in the report footer with the expression
= txtRunningSum
It will display the last available value from that text box. Once it works satisfactorily, you can hide the actual running sum.
Cheers!
(°v°)