Form Code

M

Martin

Hello, I currently have a switchboard with the following
code in the "On Open" event:

DoCmd.RunCommand acCmdAppMinimize
DoCmd.Maximize

The problem I am having, is that everytime I click on a
Hyperlink within the switchboard which is suppose to take
me to another form within the database "frmEmployees"
the "frmEmployees doesn't come up although I do see it in
the taskbar. How can I write the code so that it comes up?
Also how can I close the "Switchboard" so that it
disappears in the taskbar after I open "frmEmployees"?
 
N

news.east.earthlink.net

use the OnOpen event of the frmEmployees to Docmd.Maximize and the Close
command to close the Switchboard. If you want the Switchboard to open again
when you close the form use the Close event of the form to open the
Switchboard. You could also use the visible property of the Switchboard to
simply hide it when the employee form is open.
HTH
 

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