C
croy
Split, secured database. Everything working well, except...
In the After Update event for a control on a form, I have
this code:
Private Sub grpLocType_AfterUpdate()
Dim SQL As String
SQL = "DELETE qrysfrmLocPicker.GeoLocId " & _
"FROM tblLocPicker WITH OWNERACCESS OPTION"
DoCmd.SetWarnings False
DoCmd.RunSQL SQL
DoCmd.SetWarnings True
Me![sfrmLocPickerObj].Form.Requery
End Sub
It works fine with the Admins group, and with another group
"Field-Admins". But it won't work with another group having
lesser permissions.
The error is "Run-time error '3112': Records cannot be
read; no read permissions on 'tblLocPicker'", and it leads
to the SQL statement above.
But this groups permissions *do* have permissions to do
anything but administer or modify that linked table. I've
gone so far as to give that group administer permission on
every table, every query, and every form, and it made no
difference. And the SQL refers to a saved query with "Run
with Owner's Permissions".
What am I missing?
In the After Update event for a control on a form, I have
this code:
Private Sub grpLocType_AfterUpdate()
Dim SQL As String
SQL = "DELETE qrysfrmLocPicker.GeoLocId " & _
"FROM tblLocPicker WITH OWNERACCESS OPTION"
DoCmd.SetWarnings False
DoCmd.RunSQL SQL
DoCmd.SetWarnings True
Me![sfrmLocPickerObj].Form.Requery
End Sub
It works fine with the Admins group, and with another group
"Field-Admins". But it won't work with another group having
lesser permissions.
The error is "Run-time error '3112': Records cannot be
read; no read permissions on 'tblLocPicker'", and it leads
to the SQL statement above.
But this groups permissions *do* have permissions to do
anything but administer or modify that linked table. I've
gone so far as to give that group administer permission on
every table, every query, and every form, and it made no
difference. And the SQL refers to a saved query with "Run
with Owner's Permissions".
What am I missing?