Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / February 2006

Tip: Looking for answers? Try searching our database.

Permissions question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan Fisher - 20 Feb 2006 19:39 GMT
I don't understand a couple of things about permissions in ADP. I have a form
with a function as a record source. I gave only SELECT permissions to a role
directly on the table and both SELECT and INSERT permissions on the function.
When the user attempts to create a new record he gets an error saying INSERT
permmision  denied at  the table.

My understanding of this is that unless a specific permission is DENIED on
the table, the function should allow the insert if the permission is granted
in the function. Where is the flaw in my thinking. There is no break in
ownership, all are owned by the dbo.

Also I have a form with a subform and I couldn't get the subform to show any
records until I added .dbo to  the function name. Why would that be?

Thanks
Sylvain Lafontaine - 20 Feb 2006 20:50 GMT
ADP doesn't use the function (UDF) to perform the insert, so setting the
INSERT permission on it is totally useless in regard to ADP.

Using the SQL-Server Profiler will show you what ADP is doing when it
inserts a new record (and why you need to set the Insert permission on the
table, too).

Signature

Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF

>I don't understand a couple of things about permissions in ADP. I have a
>form
[quoted text clipped - 17 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.