I am using code to validate a text box with a result that is similar to a NotOnList event for a combo box.
When an invalid width (or some other invalid value in another box) has been entered, I don't want the record to be updated. I get a message that says "2501 The RunCommand action was canceled." How can I turn off this message?
MrsBean
Code:
If InvWidth Then
Me![Width].SetFocus
Cancel = True
Me![Width].Undo
End If
When an invalid width (or some other invalid value in another box) has been entered, I don't want the record to be updated. I get a message that says "2501 The RunCommand action was canceled." How can I turn off this message?
MrsBean