MenuBar

F

Frank H

Can anybody assist ?
I want to prevent the menu bar from displaying for specific forms / reports
only.

According to Access help:

'If you set the MenuBar property to a value that is not the name of an
existing menu bar or menu bar macro, the form or report will not have a menu
bar (the default menu bar will not be shown).'

If I set the menubar property to a non existent value, I get an error
message.

Is there another simple way to turn the menu bar off "

I have experimented with 'DoCmd.ShowToolbar "Menu Bar", acToolbarYes/No",
but this applies to the whole app, and I don't want this.

TIA

Frank H
 
D

default105

I have never done this for only a few forms because I usually apply it to the
whole database but couldn't you apply DoCmd.ShowToolbar with the Open and
Close events respectively
 

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