FireDAC.Comp.DataSet.TFDDataSet.IndexFields

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

property IndexFields[AIndex: Integer]: TField read GetIndexField;

C++

__property Data::Db::TField* IndexFields[int AIndex] = {read=GetIndexField};

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.

See Also