I have a function performing different tasks depending on the option the
customer has chosen. :
If Me![OptTable] = 0 Then
MsgBox “Please select the object. Otherwise action not possible”
cancel = true
I do not want to use the Else in the If case, and i want to stop the code from executing the command and return to the original state.In other words, to happen nothing in case the customer has not chosen an option I am trying with the cancel event, but obvisoulsy i canot apply cancel in this case.
How can i achieve it?