I have written a script that looks like this...
Enter Find Mode 
Set Field xxxx ; xxxxx
Perform Find 
Sort Records [Restore; No dialog]
The problem is that if there is nothing found, I'd like for a "Show Custom Dialog" window to pop up.
Can anyone tell me how to do this?