Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

DoCmd.CloseDatabase Method (Access)

Closes the current database.

Version Added: Access 2007

expression .CloseDatabase

expression A variable that represents a DoCmd object.

This method has the same effect as clicking the Microsoft Office Button O12FileMenuButton_ZA10077102 and then clicking Close Database. If you have any unsaved objects when you use the CloseDatabase method, the dialog boxes that appear are the same as those displayed when you click Close Database.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.