473,385 Members | 1,908 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,385 software developers and data experts.

Question on Queries

Hello,

I have an Access file saved on my company server.

Is it possible to allow selected people within my network to access a
query that I've written and allow them to read and write changes to the
cells in this query and not be able to read/write data in the master
table?

Apr 1 '06 #1
1 2699
The help file mentions this, but it only mentions Make Table and Append
queries. I haven't tried it with a Select query.

(from the help file)
WITH OWNERACCESS OPTION Declaration

In a multiuser environment with a security-enabled workgroup, use this
declaration with a query to give the user who runs the query the same
permissions as the query's owner.

Syntax
sqlstatement
WITH OWNERACCESS OPTION

Remarks
The WITH OWNERACCESS OPTION declaration is optional.
The following example enables the user to view salary information (even if
the user does not otherwise have permission to view the Payroll table),
provided that the query's owner does have that permission:
SELECT LastName,
FirstName, Salary
FROM Employees
ORDER BY LastName
WITH OWNERACCESS OPTION;

If a user is otherwise prevented from creating or adding to a table, you can
use WITH OWNERACCESS OPTION to enable the user to run a make-table or append
query.

If you want to enforce workgroup security settings and users' permissions,
do not include the WITH OWNERACCESS OPTION declaration.

This option requires you to have access to the System.mdw file associated
with the database. It is useful only in security-enabled multiuser
implementations.
----------------------------------------------------

You can also do this by opening the query in design view, opening the
query's Properties, and set the Run Permissions property to Owner's. The
help file article associated with this property states, "You can use the
RunPermissions property in a multiuser environment with a security-enabled
workgroup to override the existing user permissions. This allows you to view
a query or run an append, delete, make-table, or update query that you
otherwise wouldn't have permission to run. For example, as a user, you may
have read-only permission for queries, while the owner of the queries has
read/write permission. If the owner sets the RunPermissions property to
specify the owner's permissions, you can run an append query to add records
to a table."

The "view a query" statement could be a Select query or it could mean that
you can view the SQL but can't change it. If it does mean viewing the output
of a Select query, whether or not it will also let you make changes to the
data, I don't know.

--
Wayne Morgan
MS Access MVP
"Kurch" <ku******@mac.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
Hello,

I have an Access file saved on my company server.

Is it possible to allow selected people within my network to access a
query that I've written and allow them to read and write changes to the
cells in this query and not be able to read/write data in the master
table?

Apr 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Mortrek | last post by:
Hi. We have a .NET programmer using our SQL server. The database is roughly 8GB at this point, full of all of our inventory, payroll data, etc. for running reports. This is on a dual-xeon...
3
by: Tcs | last post by:
My backend is DB2 on our AS/400. While I do HAVE DB2 PE for my PC, I haven't loaded it yet. I'm still using MS Access. And no, I don't believe this is an Access question. (But who knows? I...
7
by: Danny J. Lesandrini | last post by:
I know this has been discussed before, as I've seen the Google posts, but they all leave me with an unanswered question: Does my DAO code executed in the front end cause the back end to bloat?...
1
by: ANSWER | last post by:
Is there any way I could disable user to create a new database and import all of my tables and queries into his database. I make .mde, disable shift+Enter, make logon users module (with your help...
9
by: Andrew McLean | last post by:
This really an algorithm question more that a Python question, but it would be implemented in Python.... I have a list of strings, A. I want to find a set of strings B such that for any "a in A"...
5
by: jzlondon | last post by:
Hi, I have a question that I wonder if someone might be able to help me with... I have an application which handles real-time financial data from a third party source. The data comes in via...
5
by: Regnab | last post by:
I have a table "tblSprayApplication" in a project for a nursery. Each record refers to a single spray application across the nursery, recording which groups had been sprayed. Multiple applications...
7
Denburt
by: Denburt | last post by:
According to our lovely friends at Microsoft they say that after compacting a database the queries should be recompiled by opening each one then closing it. So I compacted the database I was...
4
by: JB | last post by:
Hi All, I need to write my first "distributed" application and due to my lack of knowledge and experience in that area, I'm stuck on the first big design decision. Reading a lot on distributed...
0
bleurose
by: bleurose | last post by:
We have a modestly large MySQL application (about 10,000,000 rows spread over 40+ tables). Most of our queries are very small and fast (single table or two-table joins with good keys and indexes). ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.