[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 421
  • Last Modified:

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.
0
Milewskp
Asked:
Milewskp
1 Solution
 
Serena2345Commented:
{F11}
0
 
Rey Obrero (Capricorn1)Commented:
try

'To Hide the database window
Docmd.SelectObject acTable, , True
Docmd.RunCommand acCmdWindowHide

'To show the database window
Docmd.SelectObject acTable, , True
0
 
Data-ManCommented:
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
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now