A report function that calculates the sum of one field (column) from the Data-Row. This function produces a global
total. The total sum of the group is known when the group processing starts and the report is not performing a
prepare-run. The sum is calculated in the prepare run and recalled in the printing run.
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. This parameter is optional.
author: Thomas Morgner
Return a completly separated copy of this function. The copy does no longer share any changeable objects with the
original function.
a copy of this function.
The value depends (obviously) on the function implementation. For example,
a page counting function will return the current page number.
The value of the function.