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.

non calculate 2 fields

Featured Replies

I have a calculation field which calculates

fieldA - fieldB = X

but the result calculates even if field A is empty or if fieldB is empty... how can I stop this? I can do it if fieldA is empty but how if fieldB happens to be empty also?...

TIA

Ben

Ben,

At the bottom of the calculation dialog box is a check box for "do not evaluate if all fields are empty"... or there is in FMv9. Can't recall if this is in v6.

However, if it's not there or it doesn't work, you can use a case statement to stop the calc.

case( (test field A) AND (test field B) ; result-if-both-true ; result-if-not-both-true)

Regards,

Don

  • Author

I am actually on 8 advanced... however.... yes that box is checked as default but the calculation was still working if one or the other field was empty... maybe because I was using an "if" statements?

however.... thanks for your calc... that works and very handy for me..

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.