How Do I cancel a script which performs find but the found set is empty
My solution uses all custom buttons. And is deployed via instent web publishing. In one area I have buttons with preset finds.
1) Performs Find  --with find criteria
2) Collects all values for one feld of the found records. Concatenates these values into a text string that would appear as a list.
3) Puts the text result in a global field.
4) Goes to the layout where this global field is displayed.
5) Enters Browse Mode.
Everything works great unless the search results in an empty found set. When this happens, the filemaker's dialogue appears. The web dialog only has an OK button. When OK is pressed the script is paused not cancelled. This is problem matic because the script remains in pause mode.
Is there anything that I can do?
Thanks in advance.