Skip to content

TFPExpressionParser.InitAggregate

Initialize aggregate calculation

Declaration

Source position: fpexprpars.pp line 786

public 
procedure TFPExpressionParser.InitAggregate;

Description

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.