T
tw
I want the users of this system to be able to save custom queries based on
the permissions that they have. So the user can take the queries and/or
tables that they have permission to and run and save a query. However, the
users can create a query and run it, but when they try to save it, they get
an error message that they do not have the permission to "msystables" that
they need.
When I view hidden objects I can see the following tables
MSysAccessObjects ->owner is me?
MSysAccessXML -> owner is Admin (Admin has no rights to anywhere in system -
except here I guess)
MSysACEs -> owner is Engine
MSysObjects -> owner is Engine
MSysQueries -> owner is Engine
MSysRelationships -> owner is Engine
1. I did not change the owner of MSysAccessObjects to myself so how is this
set to me as the owner?
2. Why is MSysAccessXML's owner Admin when Admin should have no rights at
all, and that is how I thought I had set it up.
3. What user name should be the owner of these objects?
4. I do not see MSysTables. Why do not?
5. How can I give my users permission to save custom queries and reports?
I'm using a form that lists the following code in a combo box to allow users
to see the queries that they have saved provided they save them correctly.
"SELECT msysobjects.Name, msysobjects.Type FROM msysobjects WHERE
msysobjects.Name Like "<*" And msysobjects.Type=5" I have a custom menu
that allows them access to the query builder to create the queries. I have
similar code for custom reports. These work fine for me (I am a member of
the Admins group), but for users with limited permissions, they can create
and run a query, but they cannot save the query.
6. Even as a member of the Admins group, I do not have access to view or
modify the tables where Engine is the Owner. Can this be changed so that I
can accomplish what I need to accomplish?
7. Users that don't have administrative permissions can see the list created
by the SQL statement above, and can select a query from the combo box. But
when they click on the button to run the query which uses the code below to
run the query
DoCmd.OpenQuery Me.cmbQuery.Value, acViewNormal, acReadOnly
they get the message that they do not have the necessary permission to run
the query 'queryname' even though the query has RWOP and Owner (me) has
full access. And in fact, the user also has access to the table that the
query was based on. It runs fine when I try it. Why?
the permissions that they have. So the user can take the queries and/or
tables that they have permission to and run and save a query. However, the
users can create a query and run it, but when they try to save it, they get
an error message that they do not have the permission to "msystables" that
they need.
When I view hidden objects I can see the following tables
MSysAccessObjects ->owner is me?
MSysAccessXML -> owner is Admin (Admin has no rights to anywhere in system -
except here I guess)
MSysACEs -> owner is Engine
MSysObjects -> owner is Engine
MSysQueries -> owner is Engine
MSysRelationships -> owner is Engine
1. I did not change the owner of MSysAccessObjects to myself so how is this
set to me as the owner?
2. Why is MSysAccessXML's owner Admin when Admin should have no rights at
all, and that is how I thought I had set it up.
3. What user name should be the owner of these objects?
4. I do not see MSysTables. Why do not?
5. How can I give my users permission to save custom queries and reports?
I'm using a form that lists the following code in a combo box to allow users
to see the queries that they have saved provided they save them correctly.
"SELECT msysobjects.Name, msysobjects.Type FROM msysobjects WHERE
msysobjects.Name Like "<*" And msysobjects.Type=5" I have a custom menu
that allows them access to the query builder to create the queries. I have
similar code for custom reports. These work fine for me (I am a member of
the Admins group), but for users with limited permissions, they can create
and run a query, but they cannot save the query.
6. Even as a member of the Admins group, I do not have access to view or
modify the tables where Engine is the Owner. Can this be changed so that I
can accomplish what I need to accomplish?
7. Users that don't have administrative permissions can see the list created
by the SQL statement above, and can select a query from the combo box. But
when they click on the button to run the query which uses the code below to
run the query
DoCmd.OpenQuery Me.cmbQuery.Value, acViewNormal, acReadOnly
they get the message that they do not have the necessary permission to run
the query 'queryname' even though the query has RWOP and Owner (me) has
full access. And in fact, the user also has access to the table that the
query was based on. It runs fine when I try it. Why?