G
Guest
Once again, this forum has been a great resource! I've been having problems
opening forms in design mode in a database that I just secured by creating a
new workgroup file, so I searched on "exclusive" and found several threads
from people with similar problems. I can get around it at this point, but
I'd like to understand a little more.
Here's the situation. When I secured the database, I created two new users,
DBA and Staff, and checked two of the "custom" groups that the wizard
suggests, "Full Permissions" and "Full Data Users." I then specified that
user DBA should be in groups Admins and Users, user Staff should be in groups
Full Data Users and Users, and the pre-existing user Admin should be in
groups Full Permissions and Users (the users "Admin" and "Staff" are exactly
the user names I wanted for the users of this database, along with a "DBA"
user for programming, so I figured it would be okay to use the existing
"Admin" user).
When I checked, I was surprised to find that the Full Permissions and Full
Data Users groups *didn't* have the permissions that I thought they would
have for existing objects, they only had permissions on new objects. So I
selected all of the existing objects in each category and gave them the
permissions that I wanted.
When I logged in as DBA, I got the familiar "You do not have exclusive
access to the database at this time," etc., message when I tried to open a
form in design mode, despite the fact that I'm the only one opening the
database on this non-networked PC. But when I logged in as Admin, I *didn't*
get that message, despite the fact that the DBA user is in the Admins group,
and the Admin user has all of the same priveleges as the DBA user.
After reading the FAQ page that I saw referenced in a different thread on
this subject, I understand that the exclusive access requirement was
introduced in Access 2000 for a number of reasons. But I still don't
understand a couple of things:
1. Why isn't Access able to obtain the exclusive lock that it's apparently
trying for when opening the form in design view, regardless of the user that
I'm logged in as, when I'm the only one who can have the database open (and I
don't already have another instance of it open)?
2. Why is the exclusive lock successful for user Admin but not for user
DBA? If this is a built-in feature of the built-in Admin user (e.g., the
Admin user *always* gets an exclusive lock on the database, and any other
users *never* get an exclusive lock), is it documented somewhere?
3. Is the fact that the expected permissions associated with the suggested
user groups aren't granted to existing objects documented somewhere? Or did
I do something wrong when I specified that I wanted to use the suggested user
groups?
As I said, I've figured out how to work on the database at this point,
either by logging in as Admin, or opening Access and using the "Open
Exclusive" option, or including "/excl" in the shortcut specification as
suggested by someone else. But I'd *really* like to understand Access's
behavior here for future projects, and to make working on this one easier.
Thanks for any help anyone can provide!
Cheers,
Rich
opening forms in design mode in a database that I just secured by creating a
new workgroup file, so I searched on "exclusive" and found several threads
from people with similar problems. I can get around it at this point, but
I'd like to understand a little more.
Here's the situation. When I secured the database, I created two new users,
DBA and Staff, and checked two of the "custom" groups that the wizard
suggests, "Full Permissions" and "Full Data Users." I then specified that
user DBA should be in groups Admins and Users, user Staff should be in groups
Full Data Users and Users, and the pre-existing user Admin should be in
groups Full Permissions and Users (the users "Admin" and "Staff" are exactly
the user names I wanted for the users of this database, along with a "DBA"
user for programming, so I figured it would be okay to use the existing
"Admin" user).
When I checked, I was surprised to find that the Full Permissions and Full
Data Users groups *didn't* have the permissions that I thought they would
have for existing objects, they only had permissions on new objects. So I
selected all of the existing objects in each category and gave them the
permissions that I wanted.
When I logged in as DBA, I got the familiar "You do not have exclusive
access to the database at this time," etc., message when I tried to open a
form in design mode, despite the fact that I'm the only one opening the
database on this non-networked PC. But when I logged in as Admin, I *didn't*
get that message, despite the fact that the DBA user is in the Admins group,
and the Admin user has all of the same priveleges as the DBA user.
After reading the FAQ page that I saw referenced in a different thread on
this subject, I understand that the exclusive access requirement was
introduced in Access 2000 for a number of reasons. But I still don't
understand a couple of things:
1. Why isn't Access able to obtain the exclusive lock that it's apparently
trying for when opening the form in design view, regardless of the user that
I'm logged in as, when I'm the only one who can have the database open (and I
don't already have another instance of it open)?
2. Why is the exclusive lock successful for user Admin but not for user
DBA? If this is a built-in feature of the built-in Admin user (e.g., the
Admin user *always* gets an exclusive lock on the database, and any other
users *never* get an exclusive lock), is it documented somewhere?
3. Is the fact that the expected permissions associated with the suggested
user groups aren't granted to existing objects documented somewhere? Or did
I do something wrong when I specified that I wanted to use the suggested user
groups?
As I said, I've figured out how to work on the database at this point,
either by logging in as Admin, or opening Access and using the "Open
Exclusive" option, or including "/excl" in the shortcut specification as
suggested by someone else. But I'd *really* like to understand Access's
behavior here for future projects, and to make working on this one easier.
Thanks for any help anyone can provide!
Cheers,
Rich