Aggregation: String;
Aggregation: String;
The Aggregation property determines a part of query where expression for data aggregation is specified.
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;
The example of use is given in description of the ISQLCallback.BeforeConstruction method.
See also: