Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: Formula for conditional colour formatting
Author
Message
rahmaniac22
Newbie
Joined: 24 Feb 2010
Location: United States
Online Status: Offline
Posts: 14
Topic: Formula for conditional colour formatting
Posted: 06 Nov 2011 at 11:12am
please help me with the formula
when +/-1 then CrYellow
when +/_2 then CrRed
Thanks in Advance,
Rahmaniac
IP Logged
DBK412
Newbie
Joined: 06 Nov 2011
Online Status: Offline
Posts: 6
Posted: 06 Nov 2011 at 2:07pm
Have you tried Highlight expert?
IP Logged
rahmaniac22
Newbie
Joined: 24 Feb 2010
Location: United States
Online Status: Offline
Posts: 14
Posted: 07 Nov 2011 at 3:03am
Thanks for your reply @DBK412.
I tried the Highlight expert.
I used the in between condition for +1/-1 then CrYellow
abd the not between condition for +1/-1 then CrRed.
It still does not work as i intended.
Please anybody suggest.
Thanks
IP Logged
kostya1122
Senior Member
Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Posted: 07 Nov 2011 at 7:29am
if {field} = +/-1 then CrYellow else
if {field}= +/_2 then CrRed
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 07 Nov 2011 at 8:02am
or maybe this...?
if currentfieldvalue in [1,-1] then CrYellow else
if currentfieldvalue in [2,-2] then CrRed else crnocolor
Edited by DBlank - 07 Nov 2011 at 8:34am
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.