T
Tony_VBACoder
I have applied security to my Access 2002 database and
have run into some security related message boxes and
wanted to know why I am getting these.
I have a user named "Homer Simpson" and he is assigned to
the Group "Read-Only Users". In the "User and Group
Permissions" dialog box, this group has NO permissions
checked (all options are unchecked) for the "<New Forms>"
object. However, for each form object in the "Object
Name" list, I have given this group only "Open/Run"
permission so that the users can only open the forms.
Now, when "Homer Simpson" logs into the application and
decides to try and create a NEW form from the database
window, he first gets the following message box:
"You do not have exclusive access to the database at this
time. If you proceed to make changes, you may not be able
to save them later."
If he clicks on OK, the "New Form" wizard dialog box
appears and he is able to go through and create a Form,
just as if he has permission to do so (which he doesn't).
However, when he goes to save this new form, he is
presented with the following message box and his form does
not save:
"You do not have exclusive access to the database. Your
design changes cannot be saved at this time. Do you want
to close without saving your changes?"
My First question is, why is this user even able to create
a Form when I set the permission on the "<New Forms>"
object to be NOTHING?
Second question: If Homer Simpson selects a Form from the
Database window and clicks on the "Design" button, he is
presented with the following 2 message boxes:
"You do not have exclusive access to the database at this
time. If you proceed to make changes, you may not be able
to save them later."
If he clicks the Cancel button, this message box goes
away. However, if he clicks the OK button, he is
presented with another message box:
"You dont have permission to read 'frmMyForm.'. To read
this object, you must have Read Design permission for it.
For more information on permissions and who can set them,
click Help."
Why is he getting this 2nd message box, and is there a way
of just having the 1st message box displayed? The 1st
message box should be sufficient.
have run into some security related message boxes and
wanted to know why I am getting these.
I have a user named "Homer Simpson" and he is assigned to
the Group "Read-Only Users". In the "User and Group
Permissions" dialog box, this group has NO permissions
checked (all options are unchecked) for the "<New Forms>"
object. However, for each form object in the "Object
Name" list, I have given this group only "Open/Run"
permission so that the users can only open the forms.
Now, when "Homer Simpson" logs into the application and
decides to try and create a NEW form from the database
window, he first gets the following message box:
"You do not have exclusive access to the database at this
time. If you proceed to make changes, you may not be able
to save them later."
If he clicks on OK, the "New Form" wizard dialog box
appears and he is able to go through and create a Form,
just as if he has permission to do so (which he doesn't).
However, when he goes to save this new form, he is
presented with the following message box and his form does
not save:
"You do not have exclusive access to the database. Your
design changes cannot be saved at this time. Do you want
to close without saving your changes?"
My First question is, why is this user even able to create
a Form when I set the permission on the "<New Forms>"
object to be NOTHING?
Second question: If Homer Simpson selects a Form from the
Database window and clicks on the "Design" button, he is
presented with the following 2 message boxes:
"You do not have exclusive access to the database at this
time. If you proceed to make changes, you may not be able
to save them later."
If he clicks the Cancel button, this message box goes
away. However, if he clicks the OK button, he is
presented with another message box:
"You dont have permission to read 'frmMyForm.'. To read
this object, you must have Read Design permission for it.
For more information on permissions and who can set them,
click Help."
Why is he getting this 2nd message box, and is there a way
of just having the 1st message box displayed? The 1st
message box should be sufficient.