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.

Check if specified record exists (in script)

Featured Replies

I am working in a script and want to find a record whose field equals a certain value. How can I view the results of this search and determine if there were results at all from within a script?

Would I have to enter find mode, etc.?

Check out "Error Capture".

Basically when you instigate error capture (Scrip step: Set Error Capture [ON]) then you can catch the error number generated on the following line of your script with a conditional (If/EndIF) using the GetLastError function in your calculation.

There's a full list of error codes in the online help system.

Here's a simple find script that MAY answer your question. Change it anyway you want. Notice the Set Field Command. That's where you enter your criteria.

HTH

Al

Sorry, I attached the wrong script and I can not get connected to the download site to change it. I'll do so as soon as I can.

OK. This is the correct one.

HTH

Simple_find_script.pdf

  • Author

Thanks for your help, I've gotten it to work.

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.