A report function that calculates the sum of one field (column) from the data-row. This function produces a running total, no global total. For a global sum, use the TotalGroupSumFunction function. The function can be used in two ways:
- to calculate a sum for the entire report;
- to calculate a sum within a particular group;
This function expects its input values to be either java.lang.Number instances or Strings that can be parsed to java.lang.Number instances using a java.text.DecimalFormat.
The function undestands two parameters, the field
parameter is required and denotes the name of an ItemBand-field which gets summed up.
The parameter group
denotes the name of a group. When this group is started, the counter gets reseted to null.
@author Thomas Morgner