A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Protecting queries



 
 
Thread Tools Display Modes
  #1  
Old November 19th, 2006, 11:28 PM posted to microsoft.public.access.queries
C Tate
external usenet poster
 
Posts: 35
Default Protecting queries

Is it possible to protect my queries from alteration? I don't want to create
an MDE file because I still want them to be able to access the database
window to run reports. I also don't want users to go through complicated
logon procedures. Maybe I'm asking the earth?!


  #2  
Old November 20th, 2006, 12:36 PM posted to microsoft.public.access.queries
John Spencer
external usenet poster
 
Posts: 7,815
Default Protecting queries

Both of those positions are very complex (at least if you wish to survive).


"Granny Spitz via AccessMonster.com" u26473@uwe wrote in message
news:698b05470ce87@uwe...
C Tate wrote:
Is it possible to protect my queries from alteration? I don't want to
create
an MDE file because I still want them to be able to access the database
window to run reports.


Don't worry. An MDE won't protect the tables, queries or macros in any
way.
The only ways to protect the queries are to either apply User level
security
or avoid saving queries and just use SQL in the VBA code in modules.

I also don't want users to go through complicated
logon procedures.


If double-clicking a shortcut, being prompted with the last user name to
sign
in (usually their own) and having to type the password are too complicated
for your users maybe they should find a less complex occupation. There're
always positions open for paratroopers and lion tamers. No computer
experience required. g

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...eries/200611/1



  #3  
Old November 20th, 2006, 03:48 PM posted to microsoft.public.access.queries
Rick Brandt
external usenet poster
 
Posts: 4,354
Default Protecting queries

"C Tate" wrote in message
...
Is it possible to protect my queries from alteration? I don't want to create
an MDE file because I still want them to be able to access the database window
to run reports. I also don't want users to go through complicated logon
procedures. Maybe I'm asking the earth?!


You have a few incorrect assumptions.

An MDE does not restrict access to the db window.

An MDE does not prevent design changes to queries and tables. Only to code
based objects.

Depending on how many queries you have you could have a code routine that
changes them all back to your current design in case anyone messes with them.

Depending on the sophistication of your users you could hide them or name them
with USys as a prefix which would cause Access to hide them as system objects.


--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


  #4  
Old November 22nd, 2006, 08:39 AM posted to microsoft.public.access.queries
C Tate
external usenet poster
 
Posts: 35
Default Protecting queries

Thanks for clarifying that Rick. Both options sound interesting. Are there
any sites that give sample code for changing queries back to the original
design? Also, if I give my queries the usys prefix how do I see them myself
if I wish to view/amend? Sorry I'm so ignorant; I'm quite new to Access.
"Rick Brandt" wrote in message
et...
"C Tate" wrote in message
...
Is it possible to protect my queries from alteration? I don't want to
create an MDE file because I still want them to be able to access the
database window to run reports. I also don't want users to go through
complicated logon procedures. Maybe I'm asking the earth?!


You have a few incorrect assumptions.

An MDE does not restrict access to the db window.

An MDE does not prevent design changes to queries and tables. Only to
code based objects.

Depending on how many queries you have you could have a code routine that
changes them all back to your current design in case anyone messes with
them.

Depending on the sophistication of your users you could hide them or name
them with USys as a prefix which would cause Access to hide them as system
objects.


--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:49 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.