AnsweredAssumed Answered

How Do I cancel a script which performs find but the found set is empty

Question asked by carolyn on Aug 27, 2013
Latest reply on Aug 27, 2013 by carolyn

Title

How Do I cancel a script which performs find but the found set is empty

Post

     Hi All,

     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.

     Carolyn

      

      

Outcomes