Solved

Disable some short-cut menu options Access 2007

Posted on 2011-09-15
1
431 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

856 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