Initialize count aggregation
Source position: fpexprpars.pp line 698
public procedure TAggregateCount.InitAggregate; override; |
The InitAggregate method initializes the count aggregate for a new aggregation cycle. It resets the internal counter to zero, preparing the aggregate to count new values from the beginning.
The method sets up the initial state needed for accurate counting and ensures that the counter starts from zero for each new aggregation sequence.
Proper initialization is essential for accurate count results, as it establishes the starting point for the counting process.