CDaoDatabase::DeleteQueryDef
Call this member function to delete the specified querydef — saved query — from the CDaoDatabase object's QueryDefs collection.
void DeleteQueryDef(
LPCTSTR lpszName
);
Параметры
- lpszName
The name of the saved query to delete.
Заметки
Afterwards, that query is no longer defined in the database.
For information about creating querydef objects, see class CDaoQueryDef. A querydef object becomes associated with a particular CDaoDatabase object when you construct the CDaoQueryDef object, passing it a pointer to the database object.
Требования
Header: afxdao.h