Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: highlighting two words Post Reply Post New Topic
Author Message
HAWKEYE
Newbie
Newbie


Joined: 19 Sep 2015
Online Status: Offline
Posts: 7
Quote HAWKEYE Replybullet Topic: highlighting two words
    Posted: 26 Sep 2015 at 2:53am
I'm new to CR and working on a project
I need a field value to highlight aqua if the field value equals "tom" or "sallie" if not then red. I have come close with this statement
if currentfieldvalue="sallie" then
craqua


Any help would be appreciated.
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 27 Sep 2015 at 11:29pm
Hi,

Right click on field and select format Field > Font > Color, select formula button (X-2). use below code here.

if currentfieldvalue in ["tom","sallie"] then
craqua
else
crred

--Praveen G

Edited by praveeng - 27 Sep 2015 at 11:31pm
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
HAWKEYE
Newbie
Newbie


Joined: 19 Sep 2015
Online Status: Offline
Posts: 7
Quote HAWKEYE Replybullet Posted: 28 Sep 2015 at 11:46am
Thanks that did it.
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.