Don't want menu bar

  • Thread starter Thread starter Phillip
  • Start date Start date
P

Phillip

Hi,
I have a form with a command button that opens a report with the following
command:

DoCmd.OpenReport stDocName, acViewPreview

The reports opens and has the menu bar. Is there a way to prevent the menu
bar from showing? If I go to design view and select view/toolbars/customize
the menu bar is checked, but I can't uncheck it.
Your help would be appreciated.
Thanks
Phil
 
HideMenu:
DoCmd.ShowToolBar "Menu Bar", acToolbarNo

ShowMenu:
DoCmd.ShowToolBar "Menu Bar", acToolbarYes
 
Back
Top