ACC2002: The Database Window Is Displayed When a Database Is Opened from the Most Recently Used File List Even After You Clear the "Display Database Window" Check Box (304092)
The information in this article applies to:
This article was previously published under Q304092 Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
After you click to clear the Display Database Window check box in the Startup dialog box on the Tools menu, the Database window is still displayed after you close the database startup form and then open the database from the most recently used file list on the File menu.
CAUSE
This behavior occurs because the Database window is only hidden when you close the startup form. The Database window is not closed.
RESOLUTION
To prevent the Database window from being displayed when you close the main startup form, add the following code to the Close event of the startup form:
Application.CloseCurrentDatabase
STATUS
This behavior is by design.
REFERENCESFor more information about the Application Object, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type application object in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the CloseCurrentDatabase method, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type closecurrentdatabase in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 9/26/2003 |
---|
Keywords: | kbdta kbprb KB304092 |
---|
|