Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bypassing "found no records" dialog box

Featured Replies

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?

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

  • Author

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

  • 3 years later...

Where can I find a list of error numbers such as the one you show (401).

FileMaker Version: 6

Platform: Mac OS X Panther

Check the Status(CurrentError) description in the Manual or application Help.

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.