RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.DeleteIndex Method

Deletes a secondary index for the table.

Pascal
procedure DeleteIndex(const Name: string);
C++
__fastcall DeleteIndex(const AnsiString Name);

Call DeleteIndex to remove a secondary index for a table. Name is the name of the index to delete. DeleteIndex cannot remove a primary index.

Note: To delete an index, an application must first open the table for exclusive access.
 

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