TAggregateSum.InitAggregate procedure
Initialize sum aggregation
Declaration
procedure InitAggregate; overrideDescription
The InitAggregate method initializes the sum aggregate for a new aggregation cycle.
It resets the internal accumulator to zero and prepares the aggregate state for processing new values.
The method sets up the appropriate initial values based on the expected result type (integer, float, or currency) and ensures that the accumulator is ready to receive and sum new values.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
