QueryDef.Close method (DAO)
Applies to: Access 2013, Office 2013
Closes an open QueryDef.
Syntax
expression .Close
expression A variable that represents a QueryDef object.
Remarks
If the QueryDef object is already closed when you use Close, a run-time error occurs.
An alternative to the Close method is to set the value of an object variable to Nothing (Set dbsTemp = Nothing).