RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomADODataSet.IndexFieldCount Property

Indicates the number of fields that comprise the current key.

Pascal
property IndexFieldCount: Integer;
C++
__property int IndexFieldCount;

Examine IndexFieldCount to determine the number of fields that comprise the current key. For indexes based on a single column, IndexFieldCount returns 1. For multi-column indexes, IndexFieldCount indicates the number of fields upon which the index is based. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!