Does Access store a ‘value’ when it locks a record, or when a user tried to edit a locked record?
I have the form record locking set to ‘edited record’ so that one user can't edit a record when another is editing it. That's all very fine, but I need to find out if there is a VALUE stored somewhere just when the underlying record BECOMES locked by another user. Currently when a user realises the record can't be edited, nothing INDICATES this. All that happens is that the cursor can enter any text box but the user can't type anything anywhere. I'd like to do a check something like...
If Me.LOCKED = True Then
MsgBox "Try again later, please etc."
End If
If I could check for such a value I then could ALSO disable the all the command buttons on the form as well as the text fields.
This is not as simple as checking the AllowEdits property of the form. It's below the form level and I just don't know where!
Maria
I have the form record locking set to ‘edited record’ so that one user can't edit a record when another is editing it. That's all very fine, but I need to find out if there is a VALUE stored somewhere just when the underlying record BECOMES locked by another user. Currently when a user realises the record can't be edited, nothing INDICATES this. All that happens is that the cursor can enter any text box but the user can't type anything anywhere. I'd like to do a check something like...
If Me.LOCKED = True Then
MsgBox "Try again later, please etc."
End If
If I could check for such a value I then could ALSO disable the all the command buttons on the form as well as the text fields.
This is not as simple as checking the AllowEdits property of the form. It's below the form level and I just don't know where!
Maria