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.
Juggernaut

Featured Replies

Hello,

I have a number field called [Days before alert] and a date field with the expiration date.

Days before alert = 5

Expiration date = 7/17/2006

Today: 7/15/2006

My alert calculation 1 should start a count down for 5 days up to the expiration date, then the alert calculation 2 should go on.

Please see the attachment

Thanks.

Alert_test.zip

Edited by Guest

Try combining the two calcs into one, i.e. if the first test succeeds, then put up one text message ELSE use the second. BTW, usually I find it clearest to set up simple tests that are unambiguously true or false, and embed secondary tests within that first test. Far too often I string together two or three into one grand test only to find that the combination has a different result than I planned.

Hi

try this lonely calc ( only one field):P

Let(

days = Expiration date - Get ( CurrentDate );

Case(

IsEmpty ( Clear_Alert);

Case (

days > 0 and days ≤ days before alert ; "Alert: Task Expires in "& TextColor ( days ; RGB ( 0 ; 0 ; 255 ) ) &" days " & TextColor ( Expiration date ; RGB ( 0 ; 0 ; 255 ) );

days = 0 ; "Alert: Task Expires ToDay " & TextColor ( Expiration date ; RGB ( 0 ; 0 ; 255 ) );

days < 0; "Alert: Task Is over " & TextColor ( Abs ( days ) ; RGB ( 255 ; 0 ; 0 ) ) &" Days. " & TextColor ( Expiration date ; RGB ( 255 ; 0 ; 0 ) );

""

)

)

)

Remember to make the calc UNSTORED.

  • Author

Thanks Raybaudi :yourock:

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.