SOLVED:Lock a record the moment it is accessed
Hello all!
I am a first time poster, however I have followed this forum for quite some time and appreciate the level of help provided by those who are versed in the access world! Here is my situation:
I am absolutely amazed that forums are not saturated with this question, I looked for some time now and haven't found a true solution to my problem.
I have 10 users accessing an access database at one time. All 10 are going to be using the same form to make edits to preloaded records. I need to find a way to check a record upon entering it to see whether it is locked and either tell the user it is or simply move on to a new record that isnt locked etc.
The big issue i foresee here is that the record changes are not reflected in the table untill you move on to the next record. Bottom line is i cant have 4 people working the same record only to find out only one of their work is going to be used. Here are my theories:
1. Create a yes/no field called record lock and have it checked as soon as the user enters the record. Upon leaving the record, uncheck it. I just dont know how to reflect the "lock" immidiately to other users
2. Requery the form everytime you move on to a new record and only who records that dont have a check record lock... Again, I just dont know how to make the lock appear in the table IMMIDIATELY upon entering the record.
Any help would be great! Thanks!
Hello all!
I am a first time poster, however I have followed this forum for quite some time and appreciate the level of help provided by those who are versed in the access world! Here is my situation:
I am absolutely amazed that forums are not saturated with this question, I looked for some time now and haven't found a true solution to my problem.
I have 10 users accessing an access database at one time. All 10 are going to be using the same form to make edits to preloaded records. I need to find a way to check a record upon entering it to see whether it is locked and either tell the user it is or simply move on to a new record that isnt locked etc.
The big issue i foresee here is that the record changes are not reflected in the table untill you move on to the next record. Bottom line is i cant have 4 people working the same record only to find out only one of their work is going to be used. Here are my theories:
1. Create a yes/no field called record lock and have it checked as soon as the user enters the record. Upon leaving the record, uncheck it. I just dont know how to reflect the "lock" immidiately to other users
2. Requery the form everytime you move on to a new record and only who records that dont have a check record lock... Again, I just dont know how to make the lock appear in the table IMMIDIATELY upon entering the record.
Any help would be great! Thanks!
Last edited: