Occurs during execution of the user-defined aggregate function in the SQL statement.
property OnStep: TLiteFunctionStepEvent;
Use the OnStep event handler to define the implementation of the function. Parameters that were passed to the function when it was executed in a SQL-statement, are accessible through the Params argument. The resulting value of the function has to be passed back using the OnFinal event handler.