I have created two menu bars. However, I want one of them to appear, only with certain forms, not always.
Does anybody know, what to add on the onOpen event of these forms in order to do that?
In the properties of the form you can select which menu and toolbar you want to be associated with that particular form. You don't need to do it using code.