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.

Featured Replies

  • Newbies

If I try to use division in a calculation field and the divisor is another field (say Field A), the whole program crashes if Field A is blank. I tried using an IF format IF(FieldA <> "", etc.) but no matter what form I try, a blank in Field A = CRASH. I'm using FM 3.0v3. Is there anyway to get around this? Thanks. Guy

Hi,

I don't know if this would work with the way you have things set up, but why not set the default value of Field A = 1 so that it has the same non-effect on a calculation as a blank field but won't crash.

Louisa

Guy,

I think the IF function is the best solution, but instead :

IF(FieldA <> "")

try :

IF(IsEmpty(FieldA)=0,FieldB/FieldA,0) <If the field is empty the result is 1, if it contains some data =0. Knowing this you can define if perform the calculation or not>

ZZ

[This message has been edited by ZuperZZ (edited June 12, 2000).]

  • 3 weeks later...

OBTW: The boolean way to express "IsEmpty(field)=0" is notIsEmpty(field).

  • 1 month later...

Get 5! Its works correctly!!!!!

  • 2 weeks later...

FYI: A more technically correct use of IsEmpty() is:

If(IsEmpty(A), result1, result2)

or

If(notIsEmpty(A), result1, result2)

The first is equivalent to IsEmpty(A) = 1, the second to IsEmpty(A) = 0.

The IsEmpty() function already evaluates to a boolean true or false, there is no need to compare it to 1 or 0.

-bd

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.