FireDAC.Comp.DataSet.TFDIndex.Expression
| [–] Properties | |
|---|---|
| Type: property | |
| Visibility: published | |
| Source: FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp
| |
| Unit: FireDAC.Comp.DataSet | |
| Parent: TFDIndex | |
Delphi
property Expression: String read FExpression write SetExpression;
C++
__property System::UnicodeString Expression = {read=FExpression, write=SetExpression};
Description
Specifies the expression to use for records sorting.
Set the Expression property value to a formula. The records of the dataset view are ordered by these formula values, calculated for each record.
Assignment to the Expression property value erases a Fields property value. The view sort order can be either expressional (Expression is specified), or field list-based (Fields is specified).
Alternatively, you can use Options to setup sorting.