Dear people,
I get always an error "Write Conflict" after using a checkbox in a continuous subform. This subform have a query as a rowsource. I don't know how to dissolve this error? I've done everything I can do. See below the code of the current checkbox. 


P.S. I'm working with Microsoft Access 2007
Code:
Private Sub chk_LAIPs_Final_AfterUpdate()
With Me
If .chk_LAIPs_Final = True Then
With DoCmd
.SetWarnings False
.RunSQL "UPDATE tbl_def_Patients_LAIPs SET [LAIPs_Final] = False WHERE [Auto_Number]=" & Me.Parent.[Auto_Number] & ";"
.SetWarnings True
.RunCommand acCmdSaveRecord
End With
.[%_PM_CF] = ""
.[Final_%_CF] = ""
.[%_PM_MRD] = ""
.[Final_%_MRD] = ""
.Refresh
Else
With DoCmd
.RunCommand acCmdSaveRecord
End With
.[%_PM_CF] = ""
.[Final_%_CF] = ""
.[%_PM_MRD] = ""
.[Final_%_MRD] = ""
.Refresh
End If
End With
End Sub