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.

status(currentdate) comparison

Featured Replies

We are using FMP 6.0v3 on Win 2000.

I have a date field that users put a date to follow up on items, it is stored as a date. I compare that to " status(currentdate)" in an IF statement and return either "Due" or "Not Due" based on the situation in a calculation. The user can then run a script that returns any items marked as "Due " .

Sounds like it should work without fail if the calculation field evaluates every time that the referenced field changes its value, but it doesn't. There are some records that do and some that don't. I can't even see a pattern in when it does or doesn't evaluate.

I can periodically fix it by running a script that I created that goes through each record and copies the value in that record and pastes it right back on top of itself.

FMP Help just talks about making sure that they are the same data type when you compare.

Can anyone tell me why this is happening?

Make sure your "Due" field is set to "unstored" in Storage Options so that it gets re-evaluated whenever you display/use the value. You generally do not want to store the value of calcs that use Status functions.

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.