Form Code

  • Thread starter Thread starter Martin
  • Start date Start date
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"?
 
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
 
Back
Top