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 );
- The name of the tabledef to delete.
Afterwards, that table is no longer defined in the database.
Note 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 information about tabledefs, see the article DAO TableDef. For related information, see the topic "Delete Method" in DAO Help.