Solved

Disable some short-cut menu options Access 2007

Posted on 2011-09-15
1
429 Views
Last Modified: 2012-05-12
I have an access database that I converted to an accde file to prevent users from accessing the code and I disabled the window that allows users to view objects.

Everything works good except that now a when a user right-clicks on a form they have the following options
Datasheet view
Pivottable view
pivotchart view
cut
paste
properties
close

I did not disable shortcut menu because I need cut and paste to be the only two available options in the shortcut menu on all forms.  The other options have the potential to mess up things.

Can anyone help in getting this done?

shortcut.bmp
0
Comment
Question by:RDLFC
1 Comment
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 36541920
You'd have to build your own rightclick menus and use those instead of the default menus. This isn't too terribly easy in 2007/2010, and most of the time you're better off doing this in 2003 and then converting afterwards.

If you must build them in 2007/2010, you can use VBA to do so. Here's a good writeup from Garry Robinson about doing this:

http://www.vb123.com.au/toolbox/09_access/rightclick.htm

Toward the bottom of that article you'll see a tutorial on creating rightclick menus in 2007.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now