joegez Posted January 30, 2001 Posted January 30, 2001 I am performing a sequence of finds in a script. I expect that many of them will find no records. How can I prevent the "No records found" dialog box from coming up?
LiveOak Posted January 30, 2001 Posted January 30, 2001 Aha! You have just discovered what that criptic script step "Set Error Capture (on)" is for. This script step toggles error capture which supresses the error dialog boxes. For instance: Allow User Abort (off) Set Error Capture (on) Perform Find (restore) If(Status(CurrentError) = 401) #No Records Found Exit Script Else #Records Found Sort(restore,no dialog) Go to Layout (List) End If -bd [This message has been edited by LiveOak (edited January 30, 2001).]
joegez Posted January 30, 2001 Author Posted January 30, 2001 Thanks quote: Originally posted by LiveOak: Aha! You have just discovered what that criptic script step "Set Error Capture (on)" is for. This script step toggles error capture which supresses the error dialog boxes. For instance: Allow User Abort (off) Set Error Capture (on) Perform Find (restore) If(Status(CurrentError) = 401) #No Records Found Exit Script Else #Records Found Sort(restore,no dialog) Go to Layout (List) End If -bd [This message has been edited by LiveOak (edited January 30, 2001).]
Kennel Posted April 8, 2004 Posted April 8, 2004 Where can I find a list of error numbers such as the one you show (401). FileMaker Version: 6 Platform: Mac OS X Panther
Ender Posted April 8, 2004 Posted April 8, 2004 Check the Status(CurrentError) description in the Manual or application Help.
stanley Posted April 8, 2004 Posted April 8, 2004 Kennel: Brian Dunning (briandunning.com) has an excellent FileMaker database for free download which contains loads of the FM error codes, as well as Windows and Mac error codes. It's somewhere on his website. -Stanley
Recommended Posts
This topic is 7873 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