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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background colour with a date

Status
Not open for further replies.

Paul1981

IS-IT--Management
Jun 30, 2006
36
GB
Hi,

I am using Crystal Reports XI and I would like to change the background colour of my 'called customer' date field yellow when the date is over a month ago.

Can anyone help?

Thanks

Paul
 
Hi,

Right Click on the field and select HighLight Expert from the menu, There you can add the conditon by clicking new and change the font color and background color to ur required colors
 
Right click on the date->format field->border->color-background->x+2 and enter:

if datediff("d",{table.date},currentdate) > 30 then
crYellow else crNoColor

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top