How's that again?
I can read that "searching a character string" statement more than one way.
If you are searching for records by performing a find, set error capture can be used to keep the "no records found" error dialog from popping up and interrupting your script. You can then use an If step with either Get ( FOundCount ) or Get ( LastError) combined with a custom dialog to tell users that no records were found with complete control.
But maybe you had a different kind of "search" in mind?
How about something like this:
Set Error Capture [ On ]
# Users find
Perform Find 
If [ Get(LastError) ]
# your dialog
Show Custom Dialog 
Thanks this is the appropriate answer I was looking for.
Le 21 avr. 2017 à 01:34, Kevon Binder <firstname.lastname@example.org> a écrit :
reply from Kevon Binder <https://community.filemaker.com/people/user22862?et=watches.email.thread> in Discussions - View the full discussion <https://community.filemaker.com/message/657841?et=watches.email.thread#657841>
Heres an even better example if this is what you intended to ask for:
Reply to this message by replying to this email, or go to the message on FileMaker Community <https://community.filemaker.com/message/657841?et=watches.email.thread#657841>
Start a new discussion in Discussions by email <mailto:email@example.com> or at FileMaker Community <https://community.filemaker.com/choose-container.jspa?contentType=1&containerType=14&container=2310&et=watches.email.thread>
Following Scripting issue <https://community.filemaker.com/message/657841?et=watches.email.thread#657841> in these streams: Inbox
Manage your email preferences <https://community.filemaker.com//user-preferences!input.jspa>
FileMaker Developer Conference 2017 • Phoenix, Arizona • July 24-26 • www.filemaker.com/learning/devcon <http://www.filemaker.com/learning/devcon>