Making Database Window Visible

G

Guest

I don't want the database window displayed, unless I'm the
user.

I have disabled the database window on startup, but is
there a way that once it recognizes me as the user (I can
do this part) that is shows the database window?
 
C

Chris Nebinger

Lots of ways, but here is just one:

http://www.mvps.org/access/general/gen0031.htm

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


Chris Nebinger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top