Trying to compare 2 text boxs on a form and see if there value's are equal. If they are, clear the value in the one field. If there not equal, display message that values don't match.
What I've tried so far.
Code:If Me.txtSe.Value <> Me.ReSNum.Value Then Me.txtSe = "" Else MsgBox "Values Don't Match", vbCritical, "Search Error" 'Me.txtSe = "" End If