Close Switchboard when Opening Form

Richie2837

Registered User.
Local time
Today, 09:24
Joined
Jan 30, 2007
Messages
88
Is there a way to close (or hide) the switchboard when a form is opened from it? At the moment our database switchboard remains open and can be brought to the front of the screen when a form is open. Ideally I'd like it to be locked or hidden once a form is opened on top of it.
 
you can minimize it with

docmd.minimize

or close with

DoCmd.Close acForm, "yourformname"
 
In the "On Open" event procedure of the form that being opened:
Code:
Forms![YourSwitchboardName].Visible = False
will hide the switchboard

In the "On Close" event procedure of the same form:
Code:
Forms![YourSwitchboardName].Visible = True
will unhide the switchboard
 
Is there a way to close (or hide) the switchboard when a form is opened from it? At the moment our database switchboard remains open and can be brought to the front of the screen when a form is open. Ideally I'd like it to be locked or hidden once a form is opened on top of it.

If someone wants menus like the Switchboard, I will use a regular form that will close when another form is opened and then will reopen when the other form is closed. Do this through control buttons.
I, however, prefer toolbar menus. They are out of the way of the forms and always visible. You can also put built in tools there like spell check and search.
 

Users who are viewing this thread

Back
Top Bottom