As the title states i want to copy a textbox value from one record to the next when a checkbox is enabled. this is the code i wrote but i guess i am missing something or putting it in the wrong place.
Private Sub txtTRKNUM_AfterUpdate()
If chkTRACKLOCK.Value = Checked Then
txtTRKNUM.DefaultValue = txtTRKNUM.Value
End If
End Sub
Private Sub txtTRKNUM_AfterUpdate()
If chkTRACKLOCK.Value = Checked Then
txtTRKNUM.DefaultValue = txtTRKNUM.Value
End If
End Sub