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

Hi All,

I don't really know if the Title really explains my situation, but here it is..

I have Four Fields: Name, Gender, Class and Policy

Policy Field is an Unstored Calculation with the calculation below with result set to Text

If ( Gender = "Male" &  Class = "Primary"; "RUNNING" ;"EXPIRED")

Meaning, my intention is to Set the Policy field as Running, if the Student is Male and in Primary Class, otherwise, it should be set to Expired..

The calculation does not work, some fields are displayed correctly with the correct value while others are not.

However, if I remove the Logic "&" from the calculation making it only a single criterion, If ( Gender = "Male" ; "RUNNING" ;"EXPIRED"), then it works well..

Why can't I compare several fields using "&"  or "OR"  with that function?

Is there a better way of actualizing this?

 

The & does not mean and in FM.  You have to use the actual word  "and"   The & symbol is used to combined text. For example a calculation with  "FirstName" & "LastName"   with return  "FirstName LastName"

Your calculation should be

if (Gender = "Male" and Class="Primary";"Running";"Expired")

  • Author

thanks Schamblee

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.