M
Marcus Lloyd
I'm using the OnExit event to trigger validation checks on the textbox, this
all works fine, but when I close the form it triggers the OnExit event.
What I would like to do is cancel the OnExit event when I close the form,
How do I achieve this?
Sample of On Exit Code:
If .Text <> "" Or .Text <> Null Then
....Execute commands
End If
regards
Marcus
all works fine, but when I close the form it triggers the OnExit event.
What I would like to do is cancel the OnExit event when I close the form,
How do I achieve this?
Sample of On Exit Code:
If .Text <> "" Or .Text <> Null Then
....Execute commands
End If
regards
Marcus