I would like to know how to emulate @Return in script or how to stop a script from continuing if a condition is not met
I have tried Continue = false and Exit Sub
Is there another way as Continue = False does not seem to work and Exit Sub sometimes is a little drastic
If uidoc.FieldGetText("CreateSrce") = "Ext" And uidoc.FieldGetText("genrlcomnt") = "" Then
Msgbox "Warning .... You must enter a comment or complete the form prior to submitting to an approver", 0+16+0+0, "Missing Information"
Valid = False