Use Exit Script [ False ]
To halt the script without allowing the window to close.
Wow, thanks - you are just brilliant! I've never used the "Exit script" command but I just ploped it in there and it works like a charm. Thanks.
If you look up script triggers in FileMaker help, you'll find that they fall in two categories: Those that perform the script before the triggering event and those that perform it after. It will also tell you that Exit Script [false] will cancel out the triggering event in all "before" script triggers.