Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Thu, 25 Sep 2008 14:05:02 -0700,    group: microsoft.public.access.security        back       


Security on individual records   
Is is possible to set security on an individual record so that different 
people could modify a database, but only certain records they had access to 
(no pun intended! :) )?

Thank you very much for your help.

Carla McDonald
date: Thu, 25 Sep 2008 14:05:02 -0700   author:   theroundpen

Re: Security on individual records   
Sorry, Access doesn't support row-level security.

-- 
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"theroundpen"  wrote in message 
news:E26F3D76-EAC7-490F-83A7-70CD0F142175@microsoft.com...
> Is is possible to set security on an individual record so that different
> people could modify a database, but only certain records they had access 
> to
> (no pun intended! :) )?
>
> Thank you very much for your help.
>
> Carla McDonald
date: Thu, 25 Sep 2008 18:14:36 -0400   author:   Douglas J. Steele

Re: Security on individual records   
"theroundpen"  wrote in message 
news:E26F3D76-EAC7-490F-83A7-70CD0F142175@microsoft.com...
> Is is possible to set security on an individual record so that different
> people could modify a database, but only certain records they had access 
> to
> (no pun intended! :) )?
>
> Thank you very much for your help.
>
> Carla McDonald

Yes you can but you would have to have User Level Security set up and have a 
method recording the user's ID.   You could then have code in the form's 
Current event to check the recorded ID against the CurrentUser function. 
For example, if your user's account name is "JBloggs", you would record that 
in a text field when the record is created.  Then, in the form's Current 
event, something like:

If Me.txtUserID = CurrentUser Then
    Me.AllowEdits = True
Else
    Me.AllowEdits = False
End If

HTH - Keith.
www.keithwilby.com
date: Fri, 26 Sep 2008 08:48:47 +0100   author:   Keith Wilby

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us