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.

Null finds in IWP

Featured Replies

  • Newbies

Null finds in IWP

Hi All

I’ve created a database that I want to publish on the Web using IWP. I used FM Pro 10 Advanced to create the app. I want the status area of the database permanently hidden. I have supplied navigation buttons to carry out all the usual FM tasks and these buttons work fine, except for one: my custom-made “Perform Find” button.

If the status area is displayed and I click the standard “perform find” button Internet Explorer displays an error message telling the user that no records match the criteria of the find request. But if I attach the “perform find” script to a custom-made button and hide the status area this error message is not displayed and the page merely refreshes. Even when the status area is displayed no error message is displayed if the find is null.

When the find is null I want the user to be directed to a layout that contains an error message and gives the user the option of doing another find or abandoning the find. Alternatively, I would like the standard IE Explorer error message to display, but without the status area being displayed.

Any ideas?

You can trap for errors in Scripts using the Error Capture [On|Off] step.

Use the Get(LastError) after executing the find - if the error is > 0 then the find has failed, direct your script accordingly.

  • Author
  • Newbies

Hi IdealData

I’ve just tried what you suggested and it’s worked a treat! Thanks very much for helping out a Filemaker newbie.

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.