Database.Close method (DAO)
Applies to: Access 2013, Office 2013
Closes an open Database.
Syntax
expression .Close
expression A variable that represents a Database object.
Remarks
If the Database 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).