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 menu items from forms

Status
Not open for further replies.

wabtrainer

IS-IT--Management
Feb 4, 2002
66
GB
I have a database with loads of forms and i have a custom menu with print functions.
I want to disable the buttons unless a report is open.
At the moment I would have to put:

CommandBars("CAT").Controls("File").Controls("&Print...").Enabled = False
CommandBars("CAT").Controls("File").Controls("Print Pre&view").Enabled = False

on each form.

There must be an easier way!

Any ideas?


If you want to be a bear:
Be a Grizzly!
 
for every form or report you can set a menu or toolbar in the form/report property setting....

Pampers [afro]

you're never too young to learn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top