What kind of Error number do we get when user select "OK" or "Cancel"?
Well, I am trying to create a script to validate a function (to change the status of record).
When a user clicks on a button, it opens a custom dialog asking: Are you sure you want to change the status?
Then if a user clicks "OK", then I want to perform a script, If no, then I want to do something else.
I know how to use the If Else statement, but how do I get the first calculation?
Any help much appreciated!!