Categories > TinyButStrong general >

Conditional Field Problem

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: SarCaSM
Date: 2005-01-10
Time: 18:22

Conditional Field Problem

ok.  My problem is, I'm trying to get my application to display the description of an item in red if the DueDate (stored as a UNIX timestamp) is less than the current date (UNIX Timestamp also). 
I have the following code:
[blk1.DateDue;if [val]-+[var..now];then '#CC3300';else '#000000']
Its probably something dumb that I am overlooking, but the application always comes up with the #000000 in the else.
By: SarCaSM
Date: 2005-01-10
Time: 19:31

Re: Conditional Field Problem

ok, nevermind, I think I found the answer to my problem in the FAQ.  Sorry for the useless post.