Home  |   French  |   About  |   Search  | mvps.org  

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

In Memoriam

Terms of Use


VB Petition

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-2010, Dev Ashish & Arvin Meyer, All rights reserved. Optimized for Microsoft Internet Explorer