CDaoDatabase::DeleteTableDef
Call this member function to delete the specified table and all of its data from the CDaoDatabase object's TableDefs collection.
void DeleteTableDef(
LPCTSTR lpszName
);
Parameters
- lpszName
The name of the tabledef to delete.
Remarks
Afterwards, that table is no longer defined in the database.
ملاحظة
Be very careful not to delete system tables.
For information about creating tabledef objects, see class CDaoTableDef. A tabledef object becomes associated with a particular CDaoDatabase object when you construct the CDaoTableDef object, passing it a pointer to the database object.
For related information, see the topic "Delete Method" in DAO Help.
Requirements
Header: afxdao.h