Home  |  About  |   Search   

What's New
Table Of Contents
Credits
Netiquette
10 Commandments 
Bugs
Tables
Queries
Forms
Reports
Modules
APIs
Strings
Date/Time
General
Downloads
Resources
Search
Feedback
mvps.org

RunCommand Constants

Terms of Use


 

General: Show/Hide database window from code

Author(s)
Dev Ashish

You can hide the database container window by selecting the "Display Database Window" option under Tools Menu/Startup. However, if you need to show or hide the window on demand afterwards, you can use one of these ways.

To show the database window, run
    Docmd.SelectObject acTable, , True

To Hide the database window, run
    Docmd.SelectObject acTable, , True
    Docmd.RunCommand acCmdWindowHide


© 1998-2009, Dev Ashish & Arvin Meyer, All rights reserved. Optimized for Microsoft Internet Explorer