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.

Relating to a number range

Featured Replies

Is it possible to have a related file that contains a defined number range which could provide a text result.

i.e. >100 and <200 = "Print this text"

So if 150 is entered in another related file, the above TEXT result is given.

To my knowledge, the AND,OR,XOR only return a logical 1/0 result.

Is there another way around - I'm probably overlooking an obvious answer!

quote:

Originally posted by mattc:

Is it possible to have a related file that contains a defined number range which could provide a text result.

i.e. >100 and <200 = "Print this text"

So if 150 is entered in another related file, the above TEXT result is given.

To my knowledge, the AND,OR,XOR only return a logical 1/0 result.

Is there another way around - I'm probably overlooking an obvious answer!

The easiest way I can think of to do this would be to have a calculation for each range, and use that for the relationship.

So, you might have an equation like the following:

Range = Case(

Number_Field < 100, 1,

Number_Field >= 100 and Number_Field < 200, 2,

0)

Then have each instance of your related record use the Range number as the related field.

Range Text

===== ====

1 "Text for first range."

2 "Text for second range."

Chuck

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.