Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to use me.menubar

Status
Not open for further replies.

newnoviceuser

Programmer
Jan 4, 2003
63
US
I have a piece of code in a file i borrowed from a another program the line in question says

me.menubar = "main"

when i run the code i get an error saying cannot find a macro named main. what can I do to correct this problem or learn how to use this section of code properly

thanks in advance
 
Each form has a menu bar and tool bar property which specifies which menu bar and tool bar to use for the form or report. You can see this under the properties "other" tab of a form. They are setting this property through code. It is looking for this bar, but can not find it. You can most likely get rid of this code since you do not have the same menubars, or you can go to View-Toolbars-Customize and make yourself a new menu bar called main.
 
ok makes sense how can i review the menu he set up ive looked in his file for it and am unable to find anything under view/toolbars/customize with the name of main.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top