Hello, I have a button on my library database called 'Execute Find' that runs the script:
>Loop
-Set Error Capture [On]
-Perform Find
-Exit Loop If [Get(FoundCount) > 0]
-Perform Script ["BTA_Dialog Box (Nothing Found)"]
>End Loop
>Go to Layout ["List View"]
So if nothing is entered or no entry is found during a search, a dialog box is displayed. This is all working well, but if a search is performed and the user chooses to go back to the "New Find" layout, if they click "Execute Find" without entering anything, it displays the previous search results as opposed to a dialog box.
Is there anyway to stop this happeneing?
Thanks
...