FireDAC.Comp.DataSet.TFDDataSet.IndexFields
Delphi
property IndexFields[AIndex: Integer]: TField read GetIndexField;
C++
__property Data::Db::TField* IndexFields[int AIndex] = {read=GetIndexField};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
Description
Returns the fields that make up the current index.
IndexFields is a zero-based array of TField objects, each of which corresponds to a field in the current index.
The index parameter is an ordinal value indicating the position of a field in the index.
To set the dataset order, use the IndexFieldNames or IndexName property to order datasets on-the-fly at run time.
The property has meaning only for non-expressional indexes.