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.

Can I Subvert the Find Dialogue?

Featured Replies

Hello all! Need some advice from a Master Scriptmeister. I'm creating a database for use by people who are not to be trusted with my data. : (See image #1 attached)

I've created a find button which switches to Find Mode and takes the user to a new "S=earch for Project" layout. (See image #2 attached)

When the user enters their search terms and hits "Enter," the script then takes them to a "Results" report. (See image #3 attached). Once there, the user can click on the record they want, and the script takes them back to main layout and returns them to browse mode.

This all works pretty slick, and the user never knows anything about Find Mode or Browse Mode or whatever. The status area is hidden so they can't muck around.

So here's the problem: if the user enters search terms that don't exist in the system, they get the standard "No Records Match this Request" dialogue box, with options to cancel, continue, or modify find (see image #4 attached).

That's fine if they select "Modify Find." However, if the users chooses to cancel the find, they're left on the "Search for Projects" layout in browse mode..

I'm trying to figure out how to modify the dialogue box so the only option available to the user is "Modify Find." Or, at the very least, a way to make my script understand that it should return to the main layout and switch to Browse Mode if the user cancels their find request.

As usual, thanks in advance for any advice!

helpimages.zip

Take a look at the Script Set Error Capture script step and Error = 401 (No records match the request)

HTH

Lee

Take a look at this thread showing how to use Set Error Capture:

http://fmforums.com/forum/showtopic.php?tid/176313/post/203816/hl//#203816

You'll also need to use the Allow User Abort [off] script step.

  • Author

Thank you all for the responses! This fixed my problem! Y'all are the best.

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.