ISQLComponents.Aggregation

Syntax

Aggregation: String;

Description

The Aggregation property determines a part of query where expression for data aggregation is specified.

Comments

If the property value was obtained in a separate variable and the expression is modified in the variable, then it is required to rewrite property value to apply changes:

Public Class SQLCallback: Object, ISQLCallback
    
Sub BeforeConstruction(Components: ISQLComponents);
    
Var
        Aggregation: String;
    
Begin
        Aggregation := Components.Aggregation;
        //...
        //Modification of Aggregation
        //...
        Components.Aggregation := Aggregation;
    End Sub BeforeConstruction;

    
Sub AfterConstruction(Var SQL: String);
    
Begin
    
End Sub AfterConstruction;
End Class SQLCallback;

Example

The example of use is given in description of the ISQLCallback.BeforeConstruction method.

See also:

ISQLComponents