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.

Limit Maximum Value Returned on a Calculation Field

Featured Replies

Using FMP 10.

I manage a database of inventory SKU's using FMP

I need to put a Max Valu Limit on a Calculated Field.

Basically, I'm trying to set up a rule on the Calculated Field that would go something like:

If value >76, value should = 76

 

Any help is much appreciated.

Johnny

If the field is populated by a calculation, try

 

Min(<YourCalculation>; 76)

 

If the field is populated by a user input, you will have to make it a number field with an auto-entered calculation (with Do Not Replace checkbox unchecked)

 

Min(YourField ; 76)

A little more verbose but probably easier to understand:

 

Let(

 

_result = <your calc> ;

 

If(

_result > 76 ; 76 ;

_result

)

)

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.