Results 1 to 4 of 4
  1. #1
    Subwind is offline Can Only Learn
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Location
    Portsmouth, UK
    Posts
    61

    Block Access to a Record

    Is it possible to block access to a record if someone already has it open? I am thinking I would have to add a new field in the table, something like, strRecordOpen (True or False), and when a person opens that record, change it to True, and when the close that record, change it to False.



    Has anyone ever done this kind of method before? The only issue I can see is if someone closes the form without using the proper button and it does not update the strRecordOpen field.

    I would want the user to receive a pop up message telling them that the record is being used, and the person that is using it.

    ~Matt

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    What exactly are your requirements for doing so?
    Under Tool-Options-Advanced select under Record Locking - Edited Record.

  3. #3
    Subwind is offline Can Only Learn
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Location
    Portsmouth, UK
    Posts
    61
    Quote Originally Posted by burrina View Post
    What exactly are your requirements for doing so?
    Under Tool-Options-Advanced select under Record Locking - Edited Record.
    I already have this in place, however this only blocks the main form from being changed and not the subform. Basically, I want to be able to tell when people are accessing records.

  4. #4
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    You want a record when the record was accessed? If yes, then that's easy! You need a user table,a table for In/Out and a table to catch the date and time.

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

Similar Threads

  1. End While block problem
    By cbh35711 in forum Programming
    Replies: 4
    Last Post: 05-07-2012, 03:05 PM
  2. Block IF End IF Confusion
    By Phred in forum Programming
    Replies: 11
    Last Post: 03-10-2012, 02:18 PM
  3. Creating Block Diagrams from Access Database
    By SasQuach in forum Programming
    Replies: 0
    Last Post: 01-18-2012, 01:36 PM
  4. Replies: 0
    Last Post: 08-10-2011, 11:59 AM
  5. Flag A Data Block
    By JohnBoy in forum Programming
    Replies: 7
    Last Post: 06-29-2010, 01:18 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