You can use the StartupShowDBWindow property to specify whether or not the Database window is displayed when your application database opens. For example, you can open a main form when your application database opens and hide the Database window.
The StartupShowDBWindow property has the following settings.
Setting |
Description |
True (-1) |
Display the Database window at startup. |
False (0) |
Don’t display the Database window at startup. |
You can set this property by using a macro or Visual Basic. You can also set this property using the Display Database Window option in the Startup dialog box, available by clicking Startup on the Tools menu. This is the easiest way to set this property.
You can set the StartupShowDBWindow property to False to hide the Database window so the user cannot see the tables, queries, macros, and modules within your database.
This property’s setting does not take effect until the next time the database opens.
AllowBreakIntoCode Property, StartupForm Property, StartupMenuBar Property, StartupShortcutMenuBar Property, StartupShowStatusBar Property.
See the StartupForm property example.