Milewskp
asked on
What is the equivalent of F11 in code?
What is the equivalent of F11 (show database window) in code? Note: I'm not talking about changing the startup options, rather, I'd like to know how to show and hide the database window, without affecting the startup options.
{F11}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this
docmd.RunCommand acCmdWindowHide
Hides the database window (providing it is the only visible window)
docmd.RunCommand acCmdWindowunhide
If there is only one hidden window, the database window, it will be visible again.
HTH,
Mike
docmd.RunCommand acCmdWindowHide
Hides the database window (providing it is the only visible window)
docmd.RunCommand acCmdWindowunhide
If there is only one hidden window, the database window, it will be visible again.
HTH,
Mike