Cancel a script step and try to alter my custom message?
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.