Initialize aggregate calculation
Source position: fpexprpars.pp line 786
public procedure TFPExpressionParser.InitAggregate; |
The InitAggregate method initializes all aggregate functions within the expression for aggregate processing. It prepares aggregate functions like Sum, Count, Average, Min, and Max for data processing by resetting their internal state.
The InitAggregate method must be called before processing data sets with expressions containing aggregate functions to ensure correct aggregate calculations.