Baylah Posted December 10, 2007 Posted December 10, 2007 Is there a way to surpress the "No Records Found" dialog that appears when a find fails? If I write a script with a "find" call, but the result of the Find returns no records I would like the script to continue with my own steps. Kind of like: Enter Find Auto Enter Criteria From Restore Perform Find if(GetFound)=0 Show Custom Dialog (blah, Blah) Halt Script Else Perform The rest of the script. When I try to write something like this the FMP "No Records Found" window appears, I must make a selection, then my custom dialog appears. I know there must be a better way. Any help would be appreciated. Steve
David Jondreau Posted December 10, 2007 Posted December 10, 2007 Set Error Capture [On] is the step you're looking for.
Baylah Posted December 10, 2007 Author Posted December 10, 2007 Thanks! I hate when I miss the basic stuff...and I usually default every script I write to have "Set Error Capture On" that may be why I have not run into this in a very long time. Darn I hate it when I show my shorts on here! Thanks for your help. Steve
Recommended Posts
This topic is 6195 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now