Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this member function to delete the specified querydef — saved query — from the CDaoDatabase object's QueryDefs collection.
void DeleteQueryDef(
LPCTSTR lpszName
);
Parameters
- lpszName
The name of the saved query to delete.
Remarks
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.
Requirements
Header: afxdao.h