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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding the Print function and button in the menu.

Status
Not open for further replies.

mark01

Technical User
Jan 17, 2001
600
US
Is there any way to get rid of certain menu functions & buttons in a form. For example, can you hide the print function in both the File menu and in the buttons?
 
or, can I make it so when you click the print button, it carries out a specific macro, or loads up a form?
 
I'm not sure about access 2000, however I would suggest getting your hands on some Access documentation regarding the DoCmd.RemoveMenuItem. This is great for altering menu items.

However, if you start playing with the configuration of the standard menus, you face the possibility of using the altered menus for other access applications. This can cause an administation nightmare.

I'm sure that the form can specify a default menu to use. In Access 2.0, you would use Macros to provide menu functionality. In Access 95 and 97 I believe it was then moved to module based menus (however, macros were still used for backward compatibility). It would be wiser to create an application menu and toolbar for use with the application. For information on adding and removing toolbars, refer also to the DoCmd Syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top