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.

Highlighting Overdue Tasks in Portals

Featured Replies

Hi everyone,

I am trying to highlight an overdue tasks on my portal.

This is what I have so far. The name of the task has a calculated value:

Case (Get(CurrentDate) - T_DUE_DATE > 0;

TextStyleAdd(Red(T_NAME);Bold);

TextStyleAdd(Black(T_NAME);Plain))

Red and Black are custom functions; They do work.

Now here is my problem. If I create a task and I entered the due date and that due date is prior to today's date, The task is colored red. For all those tasks that were entered prior and show a due date prior to today, they are ignored. If I go back and reenter the same date, they change the text color to red. I am beginning to think that tomorrow, all those tasks that were due today will not change color to red unless I reenter the date of yesterday. Is there a better solution to marking overdue tasks red. What is the best way to mark them; the field text or the row color?

Thanks

FileMaker Version: Dev 7

Platform: Windows XP

I haven't tried your example, but it looks like your problem could be because the Get(CurrentDate) makes your calc unstored. Unstored calcs don't automatically update.

I think marking overdue tasks in red is a good idea, but you may have to run a script to update the records, or set a flag.

  • Author

That sounds logical, I will try putting it in a store field.

Thanks

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.