G
Guest
I have some code that does complex validation in the form's before update
event. If the validation fails, I set cancel to True. How can I reference
whether the cancel was true or false in a subsequent or calling event? I
want to construct an if statement, but don't know the syntax.
If Forms!frmFormName (cancel) Then
do this if true
Else
do this if false
End If
event. If the validation fails, I set cancel to True. How can I reference
whether the cancel was true or false in a subsequent or calling event? I
want to construct an if statement, but don't know the syntax.
If Forms!frmFormName (cancel) Then
do this if true
Else
do this if false
End If