Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7104 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have two fields that are date fields. "Review C" & "Review D"

I have an unstored calc that gives todays date: "Today"

I have another field "Next Review" that is an unstored calculation resulting in a date based on the 2 review fields (it figures out which of the first two date fields is next on the calendar).

I have another unstored calculated date field "Next Review colored", that hopefully will displays which dates from the "Next Review" field occur in the next 180 days by coloring them red. Dates after 180 days should be in black.

I tried two ways, neither of which worked:

first:

Case( Next Review - 180 < Today;

TextColor(Next Review; RGB (255; 0; 0));

Next Review)

and also:

Case( GetasNumber(Next Review) - 180 < Getasnumber(Today);

TextColor(Next Review; RGB (255; 0; 0));

Next Review)

Both give me black text results.. none show up in red. Even though based on the math, some should certainly show up in red.

Posted

Try using GetAsText(Next Review) in your TextColor calc or make the result text and not date. AFAIK, TextColor does not work with dates.

This topic is 7104 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.