Results 1 to 4 of 4
  1. #1
    DOC666 is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2014
    Posts
    3

    Lock individual records after saving

    Any help appreciated

    I have 4 users all with the same rights
    what i want to do is lock each individual record created by each user from the other 3 users after they have been saved ( I am not referring to record locking/table locking while updating/creating ). ie They can all read each others created records BUT only update/modify their own created records.


    They all have individual passwords to log in.


    Any suggestions ?

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,728
    How do you identify which record belongs to which user?
    Only allow update/edit if user = owner.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,527
    Add a field USER, and update behind the scene. Then only that user can edit.
    The internal function: CurrentUser()

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,943
    Open form(s) filtered to only that user's records. Requires a field in record for 'owner'.

    Otherwise, will need validation code in record or form BeforeUpdate event. Or lock/unlock form for editing as user moves record to record.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Display Individual Records in Report
    By Luke in forum Access
    Replies: 2
    Last Post: 07-13-2011, 12:18 PM
  2. Replies: 3
    Last Post: 01-25-2011, 09:50 AM
  3. Individual Records
    By JanisB in forum Access
    Replies: 1
    Last Post: 05-13-2010, 05:38 AM
  4. individual records in same column on form
    By Sharron in forum Forms
    Replies: 0
    Last Post: 10-04-2008, 09:05 PM
  5. Transferring Individual Records
    By bazillion in forum Programming
    Replies: 0
    Last Post: 01-25-2008, 12:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums