Jump to content

Bypassing "found no records" dialog box


joegez

This topic is 7315 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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).]

Link to comment
Share on other sites

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).]

Link to comment
Share on other sites

  • 3 years later...

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

Link to comment
Share on other sites

This topic is 7315 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.