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

I have a date field.

I have a calculation field that says,

If (date > "7/15/2002", "Y", "N")

For some reason, all dates in the date field evaluate to Y.

If I change the calc to

If (date = 7/15/2002, "Y", "N"), everything evaluates to N, even if I enter 7/15/2002

Is this not a valid calculation?

Thanks.

M.

If (yourDate > Date (7,15,2002), "Y", "N") would be a good way to do it. Are you sure you need the "N" to be there? It's generally more useful to only return a result when true. It simplifies the calc too:

yourDate > Date (7,15,2002)

...is all you need. The result will be "1" if true.

Make sure yourDate is a Date and not a Text field.

  • Author

the date field is definitely a date field.

myDate > Date(7,15,2002) is the answer.

As far as returning the N, the actual calculation does something else. This was just my simple test calculation to work on that formula.

Thanks for the help.

M.

Thanks from me too. Your solution solved a somewhat more complicated problem I just posted (Case function nested inside an If function) before I looked at your answer.

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.