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.

Deadline Label via Current Date State

Featured Replies

HELLO!

I worked up the attached calculation that works off getting current date and comparing to set deadline date, resulting in a user intuitive label. Example; "Due Today, Tomorrow, Wednesday, Etc..."

I would like to use this calculated label... BUT!.. I have a concern:

Sense the calculation works of the Get (CurrentDate) it will not have a correct result unless it has in real time got the CurrentDate. Example; deadline field was set sometime in the past and record was then viewed sometime in the future, label would not have correct results unless forced to re-check real time CurrentDate.

How can I keep this from happening?

Maybe...

I could run a script that forces an update upon opeing file, but there will be thousands of records to check. Plus, this fmp solution is shared over a network, constantly running on a server, never closed. Note: running FMP only, not server.

Is any of this practical? Is there an easy way?

THANKS for any help!

:)

post-80154-0-49223200-1350334096_thumb.p

Make the calculation unstored.

  • Author

Make the calculation unstored.

Simple enough, I just do not have much experience and did not know if I could trust the "[X] Do not store calculation" to work properly.

Thank you for the reinsurance!!!

Well, it will work properly in the sense that it will recalculate whenever the screen is refreshed. OTOH, if you're just sitting and staring at the screen, it will not switch by itself come midnight.

  • Author

Not that this would likely happen, but to ensure, I could attached a script trigger to the deadline field, to run a housekeeping refresh script when modified.

Tho the modify it's self would prompt the calculation to update, never mind.

Edited by Dr. Evil

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.