A report function that stores the result of a calculation for a group or the complete report. This function
can be used to convert simple running-functions into total-functions by wrapping them up. The wrapped up function
will be evaluated as usual and the result at the end of the report and/or end of the group will be stored in the
TotalCalculationFunction.
author: Thomas Morgner