Steven Cappiello Posted August 19, 2005 Posted August 19, 2005 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.
-Queue- Posted August 19, 2005 Posted August 19, 2005 Try using GetAsText(Next Review) in your TextColor calc or make the result text and not date. AFAIK, TextColor does not work with dates.
Steven Cappiello Posted August 19, 2005 Author Posted August 19, 2005 Queue, you rock.. this isn't the first time you've come through for me. Thanks! Can I paypal you a beer or something ?? -)
-Queue- Posted August 19, 2005 Posted August 19, 2005 Possibly, if I could remember where the heck my paypal info is...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now