Data.SqlExpr.TSQLTable.IndexFields
[–] Properties | |
---|---|
Type: property | |
Visibility: public | |
Source: Data.SqlExpr.pas Data.SqlExpr.hpp
| |
Unit: Data.SqlExpr | |
Parent: TSQLTable |
Delphi
property IndexFields[Index: Integer]: TField read GetIndexField write SetIndexField;
C++
__property Data::Db::TField* IndexFields[int Index] = {read=GetIndexField, write=SetIndexField};
Description
Specifies the fields associated with the current index.
IndexFields is 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 specify the sort order for records in the table.