CDaoQueryDef::m_pDatabase
Contains a pointer to the CDaoDatabase object associated with the querydef object.
Заметки
Use this pointer if you need to access the database directly — for example, to obtain pointers to other querydef or recordset objects in the database's collections.
Requirements
Header: afxdao.h