Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Conditional Formatting Post Reply Post New Topic
Author Message
nalfein
Groupie
Groupie


Joined: 07 Jul 2008
Online Status: Offline
Posts: 47
Quote nalfein Replybullet Topic: Conditional Formatting
     Posted: 11 Jun 2009 at 4:37am
Hello all

I've a date field that can have, obviously hehe, many date values

How can I do for putting there a conditional format that turn the letters red if the data is older than today (where today is the day of printing)?

Thank you for answers by now
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 11 Jun 2009 at 5:03am
Hi
 
Select the
 
Date field
 
Right-click then Select Format Field you will get Format Editor .
 
Go to Font Tab in Format Editor
Click X+2 next to Color
enter the code below
 
if date < currentdate then
CrRed
else
CrBlack
 
Cheers
Rahul
IP IP Logged
nalfein
Groupie
Groupie


Joined: 07 Jul 2008
Online Status: Offline
Posts: 47
Quote nalfein Replybullet Posted: 12 Jun 2009 at 1:54am
Yeah is ok )
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum