CDaoQueryDef::Close

virtual void Close( );

Remarks

Call this member function when you finish using the querydef object. Closing the querydef releases the underlying DAO object but does not destroy the saved DAO querydef object or the C++ CDaoQueryDef object. This is not the same as CDaoDatabase::DeleteQueryDef, which deletes the querydef from the database’s QueryDefs collection in DAO (if not a temporary querydef).

For information about querydefs, see the article DAO Querydef in Visual C++ Programmer's Guide.

CDaoQueryDef OverviewClass MembersHierarchy Chart

See Also   CDaoQueryDef::Open, CDaoQueryDef::Create, CDaoQueryDef::CDaoQueryDef