Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Conditional Format Post Reply Post New Topic
Author Message
NCGOV
Newbie
Newbie
Avatar

Joined: 04 Oct 2016
Online Status: Offline
Posts: 24
Quote NCGOV Replybullet Topic: Conditional Format
    Posted: 05 May 2017 at 10:19am
I want to make the font RED for a field based on 2 sets of conditions.

Right click on the field
Format Field
Font Tab
Color X-2

If {field.priority} = "P" and {field.secsdi2ar} > 420 then crRed
else if {field.priority} ="1" and {field.secsdi2ar} > 660 then crRed
else crBlack

A formula that will work - this one does not. I am sure it is something simple but I just cannot figure it out.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 08 May 2017 at 2:32am
the formula looks valid.
If you have any nulls in the results then you would need to make sure that the formula is set to use default values for nulls.
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.031 seconds.