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.

avoiding the no records found error

Featured Replies

You can specify a page to return if there are any errors by adding the -Error=<filename> tag to your link. This can be the same file as your -Format file; use the FMP-CurrentError tag to test for errors.

e.g. [FMP-If:CurrentError.eq.401]No records found[/FMP-If]

Or you can use [FMP-If:CurrentFoundCount.eq.0]No records found[/FMP-If]

Thank you much!

  • Author

Glad I could help!

I've found that if you perform a find and no records are returned that you get a pop-up error message and then are referred back to the previous URL that you were at. Is there any way around this?

My problem is that I'm using a perl script to pull a user ID from our campus authentication scheme. The user ID is then inserted (in the perl script) into a URL that performs a find in FileMaker on that user ID. If no records are found then I want a web page returned that will allow the user to enter a new record. Actually, I want the same page that would return if there were records found.

I think the essence of it is that I want to be able to specify the error page returned in the URL.

Any thoughts?

Thanks,

Carrie

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.