You can remove show all records from your script. It's not needed.
Use Set Error capture [on] just before your perform find to suppress the "no records" dialog.
Set Error Capture [ on ]
before the Perform Find [ ]
Thats brilliant works a treat.
Does Set Error Capture on stop all errors in the script showing or just the next one to pop up?
Also I'm using Show all as I've got a few searches in my database and i wanted to make sure that jumping from one to the other fast will search my entire table and not jut the found set from the last search. Or does perform find automatically search ALL records.
Perform Find searches all the records in your table. That's why it is not needed in this point in your script.
Set Error Capture [on]
is supposed to suppress all error dialogs from that point to the end of the script, so you may want to add Set Error Capture [off] later in your script to re-enable the error messages.