I'm trying to change a Text Box "OT Hours" to null when i go to a new or next record.
I have tried this on the form and field Expression and it's not working.
Private Sub Form_Dirty(Cancel As Integer)
If Me.OT_Hours Then Me.Undo
End Sub
Private Sub OT_Hours_Dirty(Cancel As Integer)
If Me.Dirty Then Me.Undo
End Sub
I have tried this on the form and field Expression and it's not working.
Private Sub Form_Dirty(Cancel As Integer)
If Me.OT_Hours Then Me.Undo
End Sub
Private Sub OT_Hours_Dirty(Cancel As Integer)
If Me.Dirty Then Me.Undo
End Sub