RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIndexDefs.Find Method

Returns the TIndexDef object for the index definition with a specified name.

Pascal
function Find(const Name: string): TIndexDef;
C++
__fastcall TIndexDef Find(const AnsiString Name);

Call Find to obtain information about a particular index definition. Specify the name of the index as the value of the Name parameter. 

Find raises an EDatabaseError exception if there is no index definition with the given name.

Note: To locate an index definition based on the indexed fields rather than the name of the index, use the FindIndexForFields method.
 

 

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