CDaoTableDef::DeleteIndex
Call this member function to delete an index in an underlying table.
void DeleteIndex(
LPCTSTR lpszName
);
void DeleteIndex(
int nIndex
);
Parameters
lpszName
A pointer to a string expression that is the name of an existing index.nIndex
The array index of the index object in the database's zero-based TableDefs collection, for lookup by index.
Remarks
You can use this member function on a new object that hasn't been appended to the database or when CanUpdate returns nonzero.
For related information, see the topic "Delete Method" in DAO Help.
Requirements
Header: afxdao.h