T
Tony_VBACoder
In my Access 2002 database, I have a Form where I want the
MenuBar to be Nothing - I do not want the default Access
Menu bar from appearing. In my Startup options, I have
unchecked everything, because I am using custom
commandbars for all my Forms. In the Help for the MenuBar
property of my Form, the following appears:
-------------------
Enter the name of the menu bar you want to display. If you
leave the MenuBar property setting blank, Microsoft Access
displays the built-in (default) menu bar or the
application's global menu bar. 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).
--------------------
The section that I can't seem to get to work is "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).". I tried to set my MenuBar property to a
MenuBar that does not exist in my application, for
instance, "ThisDoesNotExist", but I get the following
error when I try to load my form:
"MyApp can't find the macro 'ThisDoesNotExist.' The macro
(or its macro group) doesn't exist, or the macro is new
but hasn't been saved. Note that when..."
I am basically trying to have a simple form have no
menubars (ie: a Change Password Form).
How can I get this work?
MenuBar to be Nothing - I do not want the default Access
Menu bar from appearing. In my Startup options, I have
unchecked everything, because I am using custom
commandbars for all my Forms. In the Help for the MenuBar
property of my Form, the following appears:
-------------------
Enter the name of the menu bar you want to display. If you
leave the MenuBar property setting blank, Microsoft Access
displays the built-in (default) menu bar or the
application's global menu bar. 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).
--------------------
The section that I can't seem to get to work is "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).". I tried to set my MenuBar property to a
MenuBar that does not exist in my application, for
instance, "ThisDoesNotExist", but I get the following
error when I try to load my form:
"MyApp can't find the macro 'ThisDoesNotExist.' The macro
(or its macro group) doesn't exist, or the macro is new
but hasn't been saved. Note that when..."
I am basically trying to have a simple form have no
menubars (ie: a Change Password Form).
How can I get this work?