August 28, 200619 yr can i somehow prevent from dialogue boxes with the script? for example when in the find mode none record was found and there is a dialogue with three buttons and one of them is "cancel" but i don't want to have this button there because it stops the script. what can i do?
August 28, 200619 yr Use the Set Error Capture[On] script step at the begining of your script. You can then check for errors by using Get(LastError)
August 28, 200619 yr Hi Genu, Good answer I would only add that [color:red] sju you should do a search of FileMaker's Online Help for [color:blue]Set Error Capture script step and [color:blue]Get(LastError) function and FileMaker provides a good explanation of this. Basically, you will need to trap for the error code, and then tell FileMaker what you want it to do. Look at the [color:blue]Example script provided there, and a list Errors to trap for on the [color:red] Get(LastError) function page. HTH Lee Edited August 28, 200619 yr by Guest
Create an account or sign in to comment