I made my own tool bar but I want to totally hide the menu bar. I unchecked the menu bar to hide it but after I
reopen the database it is there again. How can I solve
this?
Select the Database Window. Go to Tools|Startup on the menu. In the Startup dialog, select your menu bar in the Menu Bar box.
You will still be able to switch between the default menu bar and your custom one by pressing Ctrl-F11 on the keyboard. When you are ready to distribute your database and don't want the user to be able to access the default menu bar, go to the Startup dialog and uncheck "Allow Access Special Keys". Ctrl-11 won't work any more, and neither will F11, Ctrl-Break, or Ctrl-G.
If you need to switch between your menu bar and the default one in code, you can do it by setting the Application.MenuBar property. Assign your menu bar's name to get your menu bar, or assign an empty string to it to get the default. (Don't assign "Menu Bar" to it, even though that's the name of the default menu bar. It confuses Access when you do this.) Rick Sprague
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.