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.

Finding OUTSIDE of a Range from in a Script

Featured Replies

Hi...

I have a table where Field1 contains both positive and negative values. I have a need to search for a set of records where Field1's values are outside of a specific range, ex: -3 to +5. As the range doesn't fall evenly on a number line, I cannot use the ABS[] value and just seach for values greater than X.

Does anyone know of a way to execute a find (from within a script) to retrieve a set of records where Field1 is less than -3, and greater than +5? Is there a way to combine a NOT operator with the range span operator (...) from within a FIND[] step, from within a script?

Thanks in advance,

-KJ

Use the Omit Record step immediately after setting up the Find criteria. This is just like checking the Omit box in Find mode. For example:

Enter Find Mode []

Insert Text [select,numberField,"-3...5"]

Omit Record

Perform Find []

You could also find the range, then show omitted records, but it's a bit slower:

Enter Find Mode []

Insert Text [select,numberField,"-3...5"]

Perform Find []

Show Omitted

Copy_and_Paste_r2.zip

  • Author

Thom,

Thank you, that works exactly like I need. Your help is much appreciated.

-KJ

Copy_and_Paste_r2.zip

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.