Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Highlighting Date field

Status
Not open for further replies.

jellybead

Technical User
Apr 30, 2004
13
US
Good Morning,
We are use CR 8.5 and have a date field which is stored as date/time.

We'd like to highlight in red, any date which is prior to a specific date, 1/1/2000 for example.

The Highlight Export works for currency and numbers, but doesn't appear as an option on date/time fields but not dates.

Is there a way to do this via a formula, and if there is could someone help me out?

Thanks in advance for your help.
jellybead


 
You can format the field itself, and set a conditional formula for Back Color. Right click on the field > Format Field > Border tab > click the [x+2] button next to Background > enter this formula:

If CurrentFieldValue < Date(2000,1,1) Then
crRed
Else
crWhite

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top