RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.IndexDefs Property

Contains information about the indexes for a table.

Pascal
property IndexDefs: TIndexDefs;
C++
__property TIndexDefs IndexDefs;

IndexDefs is a collection of index definitions, each of which describes an available index for the table. Define the index definitions of a table before calling CreateTable or creating a table at design time. 

Ordinarily, an application accesses or specifies indexes at runtime through the IndexFieldNames or IndexFields properties. 

If IndexDefs is updated or manually edited, the StoreDefs property becomes true.

Note: The index definitions in IndexDefs may not always reflect the current indexes available for a table. Before examining IndexDefs, call its Update method to refresh the list.
 

 

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