I have a Main form with a subform(datasheet view)
When dbl-clicking on any field of the subform, I open another form (frm_2) with all the details of the record clicked in the subform.
Private Sub contact_name_DblClick(Cancel As Integer)
DoCmd.OpenForm "frm_2", , , "ID = " & Me.ID
End Sub
On frm_2, I have a “Save” button.
If Me.Dirty Then Me.Dirty = False
However, when clicked I get the message:
Run-Time Error 3188 "Couldn't update. Currently locked by another session on this machine"
I have checked the other thread about this error, but it doesn’t solve the error, can anyone provide some insight?
When dbl-clicking on any field of the subform, I open another form (frm_2) with all the details of the record clicked in the subform.
Private Sub contact_name_DblClick(Cancel As Integer)
DoCmd.OpenForm "frm_2", , , "ID = " & Me.ID
End Sub
On frm_2, I have a “Save” button.
If Me.Dirty Then Me.Dirty = False
However, when clicked I get the message:
Run-Time Error 3188 "Couldn't update. Currently locked by another session on this machine"
I have checked the other thread about this error, but it doesn’t solve the error, can anyone provide some insight?