RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.IndexFields Property

Lists the fields of the current index.

Pascal
property IndexFields [Index: Integer]: TField;
C++
__property TField IndexFields[int 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 order datasets on the fly at runtime.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!