Skip to content

TCaseOperation.UpdateAggregate

Update aggregate calculations for case operation

Declaration

Source position: fpexprpars.pp line 288

public 
procedure TCaseOperation.UpdateAggregate;  override;

Description

The UpdateAggregate method updates aggregate calculations for the case operation node during aggregate expression evaluation. It ensures that aggregate functions within the selected case branch are properly updated with current data values.

The update process involves evaluating the condition to determine the active case branch, then updating any aggregate functions contained within that branch, allowing proper aggregate calculation in conditional expressions.