DoCmd.CloseDatabase Method (Access)

Closes the current database.

Version Information

추가된 버전: Access 2007

Syntax

.CloseDatabase

A variable that represents a DoCmd object.

Remarks

This method has the same effect as clicking the Microsoft Office Button Ff844747.O12FileMenuButton_ZA10077102(ko-kr,office.14).gif 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.

참고 항목

개념

DoCmd Object

DoCmd Object Members