Validation Script - How To Abort? 追蹤
I'm using Bartender Enterprise 8.01 and just used VBScripting for the first time. My script is simply taking a date entered from a prompt and adding two years. I've added some error checking but I can't figure out how to report the error to the user. For example let's say they entered an invalid date at the prompt, I can check for that in the script but then what? Do I throw an exception? (if VBS even supports them) Do I set some unknown global variable to false or set an error message? How can I report an error condition to the user and abort the print process from continuing?
side note: I checked the Help but it's not much help (or value) on the scripting side of things.
Thanks for any help.
★ BarTender Hero ★