473,424 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,424 software developers and data experts.

Disable "Design View" from menu and right-click in Access 2007

2
Hi,

I am working for a company which as a MS SQL backend and Access as front end. We update automatically each access db on the user local machine when a new feature has become available.

We have to stay with MDB for several reasons, so please avoid telling me "you have to convert to MDE"... It is not an option.

We need to allow our users to have the right-click so they can export the reports to pdf or other format.

We need to remove the "Design View" from the right-click contextual menu and from the "Office Button" Menu. We have disable the SHIFT and the VBA is password protected. But if the user right-click on the form or report and play with the "Design View", this user has suddenly access to all the underlying queries and that could be desastrous.

We have no idea how to do that.

Any help is much appreciated.
Sep 3 '07 #1
4 30672
MikeTheBike
639 Expert 512MB
Hi,

I am working for a company which as a MS SQL backend and Access as front end. We update automatically each access db on the user local machine when a new feature has become available.

We have to stay with MDB for several reasons, so please avoid telling me "you have to convert to MDE"... It is not an option.

We need to allow our users to have the right-click so they can export the reports to pdf or other format.

We need to remove the "Design View" from the right-click contextual menu and from the "Office Button" Menu. We have disable the SHIFT and the VBA is password protected. But if the user right-click on the form or report and play with the "Design View", this user has suddenly access to all the underlying queries and that could be desastrous.

We have no idea how to do that.

Any help is much appreciated.
Hi marcnz

This option will then not appear on any form shortcut.
I am not too sure what you operating requirements are, and there are a number of ways (naturally) of achieving this one requirement, but the one that spring to mind is


Open the Customize toolbar dialogue (Tools -> Customize)
on the Toolbar tab check 'Shortcut Menus'
from the Toolbar that appears select 'Forms', then 'Form View Title Bar'
and then drag the 'Form Design' OFF the the list and drop it (somewhere off the list)

This option will then not appear on any form shortcut.

The same should be done for the Reports 'Print Preview' short cut.

I think that will do it, but only testing it will confirm if that does what you want.

As I said there are other ways (like disabling all shortcuts/toolbars/menus and designing your own), but if this works then OK!

BTW, I am not sure what you mean by the '"Office Button" Menu' ??


MTB
Sep 3 '07 #2
JPing
2
Hi, marcnz,

Would you please let me know how to use password to protect VBA code in Access 2007? I need to avoid the unauthorized user to see my VBA code.

Thanks a lot.
Sep 22 '10 #3
JPing
2
Never mind, I figured out now.

Any way, thanks.
Sep 22 '10 #4
munkee
374 256MB
marcnz would you be able to state why you are not converting from MDB to MDE, this is pure curiosity and not to offer advice as I can not think of examples when you would want to stick with the MDB, but might be useful for me to know in the future.
Sep 23 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: imani_technology_spam | last post by:
We need to present hierarchical data on a web page, the same way the tree view shows files in Windows Explorer. Here's the catch: that tree view needs to be bound to a SQL Server database. How...
2
by: LynchburgRecord | last post by:
Can someone tell me where to find a definition of "Design Surface" Thank you.
6
by: gizmo | last post by:
I have a requirement to initiate more than one instance of an application using the filenames. (the example below will start two instances of MS Word). My problem is that I need to kill each...
2
by: Rob Meade | last post by:
Hi all, I am getting the above error when I try to flick from HTML to Design view in Visual Studio - I get the jist of the error message, and I know the line of code which it refers to which is...
1
by: Martin | last post by:
how to use Net View dos command with vb.Net? i want to bacame a string or array or some thing else! Im new so plz. help me with this Problem. thx for your help and Ideas thx
10
by: Wildemar Wildenburger | last post by:
Hi there :) I don't know how else to call what I'm currently implementing: An object that behaves like a list but doesn't store it's own items but rather pulls them from a larger list (if they...
7
by: alessandro menchini | last post by:
Hello, First of all: i apologize for my english...i'm still learning... If i create a view it seems that DB2 manage this view like an updateable view. But I need to create a view "read only",...
2
by: Phaiz | last post by:
Not sure if you'd need an activex control but I'm looking for a script to change the folder view to "Classic View" within IE. I have an iframe that loads the users My Documents folder and would...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.