How do I display the Navigation Pane in Access 2007 programatically?

L

lhanssen

I want to show and hide the Navigation Pane with a button on a form. I
found mention on the web how to close the Navigation Pane by doing
this:

DoCmd.SelectObject acForm, , True
RunCommand acCmdWindowHide

This works just fine, but I can't figure out how to open it again other
than going to Access Options | Current Database | Navigation | Display
Navigation checkbox.

This setting seems to be held in the registry somewhere and I was
concerned that the user might be required to close and reopen Access
before the Navigation Pane could be displayed again even by doing it in
code (if that's even possible). Any ideas?
 

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