|
AnyDAC
|
Specifies expression which must be used to sort records.
Set Expression property value to a formula. The dataset view records will be ordered by these formula values, calculated for each record.
Assignment to the Expression property value erases a Fields property value. The view sort order may be either expressional (Expression is specified), either field list based (Fields is specified).
Also use Options to setup sorting.
property Expression: String;
ADQuery1.Indexes[0].Expression := 'Upper(Left(Name, 1))';
|
What do you think about this topic? Send feedback!
|