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.
virtual void Open( LPCTSTR lpszName = NULL );
throw( CDaoException, CMemoryException );
Parameters
lpszName
A string that contains the name of the saved querydef to open. You can use a CString.
Remarks
Call this member function to open a querydef previously saved in the database’s QueryDefs collection. Once the querydef is open, you can call its Execute member function or use the querydef to create a CDaoRecordset object.
For information about querydefs, see the article in Visual C++ Programmer's Guide.
CDaoQueryDef Overview | Class Members | Hierarchy Chart
See Also CDaoQueryDef::IsOpen, CDaoQueryDef::Close, CDaoQueryDef::SetName, CDaoQueryDef::Create