IBX.IBTable.TIBTable.IndexFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IndexFields[Index: Integer]: TField read GetIndexField write SetIndexField;

C++

__property Data::Db::TField* IndexFields[int Index] = {read=GetIndexField, write=SetIndexField};

Properties

Type Visibility Source Unit Parent
property public
IBX.IBTable.pas
IBX.IBTable.hpp
IBX.IBTable TIBTable

Description

Retrieves or sets a field for an index.

IndexFields provides a zero-based array of field objects, each of which corresponds to a field in the current index. Index is an ordinal value indicating the position of a field in the index. The first field in the index is IndexFields[0], the second is IndexFields[1], and so on.

Note: Do not set IndexFields directly. Instead use the IndexFieldNames property to order datasets on the fly at runtime.