FireDAC.Comp.DataSet.TFDIndex.Expression

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Expression: String read FExpression write SetExpression;

C++

__property System::UnicodeString Expression = {read=FExpression, write=SetExpression};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDIndex

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.

See Also