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.

Suppressing the find dialog box

Featured Replies

Hi all

Is there a way of suppressing the find dialog box when no records have been founded. I am searching three db for welders qualification who have left the company. I enter the welder id in one db and use the set field option to install the id in the three db and run three external scripts sreaching for his qualification. If no record exist in a db, i would like to just exit the db and continue to the next script without having to press the cancel button. It is not possible to make one db as the forms are different. Can this be done

Thanks

Lionel

Set Error Capture [On] at the beginning of your main script.

In your other dbs, after your Perform Find step, add

If[not Status(CurrentFoundCount)]

Exit Script

End If

In the final db (the one with the last script), I would use

If[not Status(CurrentFoundCount)]

Show Message["No welders exist with that id."]

Exit Script

End If

  • Author

Hi Queue

Thanks for the reply

Lionel

If you're only searching by id, you could do it with a relationship instead of a Find, and it might run faster too:

If (IsEmpty(db1::id))

.. # continue

Else

.. Go to related record (show, db1)

End If

... or something along those lines.

Even better. I would have thought along those lines eventually. wink.gif

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.