Skip 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.

How To Script In A Find: No Match = New Layout?

Featured Replies

I'm at a loss as to how to script this: I'm using two separate text fields with first and last names to find names in a database. Exact matches and close matches are no problem. I want to disable the generic "no match" window in Filemaker with a script that takes the user to a new layout when there is no match with any record in the database. I have the script built up through the "Perform Find" function but then I'm stumped. Should I be using a different kind of field other than text to perform this? As of now I'm pasting user-entered text from text boxes into the first and last name fields of the actual database records during a find and looking for a = match.

Hi Todd,

At the beginning of your script add the 'Set Error Capture (On)" scriptstep to get rid of Filemaker's dialog.

Put:

If Status(Currentfoundcount) = 0

goto layout (YourCustomLayout)

end if

Somewhere at the end of your script.

regards,

Ernst.

  • Author

Thanks Ernst, that works perfectly!

Todd

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.