AnsweredAssumed Answered

Cancel a script step and try to alter my custom  message?

Question asked by Immigranta on Aug 21, 2012
Latest reply on Aug 22, 2012 by philmodjunk

Title

Cancel a script step and try to alter my custom  message?

Post

Hi all,

 

I have a button that runs a script. The scirpt inserts a file into a container filed and i have set the error caputer - 'on'. When one choose a file and clicks "ok" there is a message saying: "Success".

However when the user click cancel button and does not choose a file i still get the message "success". Based on what i can have filemaker to show diffrent message when user cancel the script?

I tried get (lasterror) but it does not throw any errors. I also try with the error capture off and it appears the filemaker message which i i prefer to have it off.

any ideas are appreciated!

Thanks for your help.

Outcomes