Disabling menu items?

A

Andy

How can I disable, for example, the 'delete record' menu
item from the Access application menu bar? My dB security
has delete permissions removed for non-admin users for all
forms, but the application menu bar still allows record
deletion - am i missing something? Thanks in advance,

Andy
 
A

ALESSANDRO Baraldi

Andy said:
How can I disable, for example, the 'delete record' menu
item from the Access application menu bar? My dB security
has delete permissions removed for non-admin users for all
forms, but the application menu bar still allows record
deletion - am i missing something? Thanks in advance,

Andy

You need of "Microsoft Office xx.xx Object Library" on your reference, so on
startup use this :
Application.CommandBars("Menu Bar").Enabled = False

Remember to Enable it on Close Application....!!!

Alessandro(IT)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top