Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: change field formatting on basis of other field Post Reply Post New Topic
Author Message
meherzad4u
Newbie
Newbie
Avatar

Joined: 05 Apr 2011
Location: India
Online Status: Offline
Posts: 2
Quote meherzad4u Replybullet Topic: change field formatting on basis of other field
     Posted: 05 Apr 2011 at 4:29am

I am creating test report for a pathology lab so i have to print all test details in it...

i have to format the test result value if it is out of bound which is different for every test.
 
so if the test value is out of bound then display in red colour ..
 
In highlight expert i have to give a specific value but in my case the bound values are different fr each test ...


Edited by meherzad4u - 05 Apr 2011 at 4:29am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Apr 2011 at 4:41am
sample would be like this...
if test type="a" and Not(result in minvalue to maxvalue) then crRed else
if test type="b" and Not(result in minvalue to maxvalue) then crRed else
if test type="c" and Not(result in minvalue to maxvalue) then crRed else ...
else crblack
 
IP IP Logged
meherzad4u
Newbie
Newbie
Avatar

Joined: 05 Apr 2011
Location: India
Online Status: Offline
Posts: 2
Quote meherzad4u Replybullet Posted: 05 Apr 2011 at 7:28pm
thanks bro....Smile
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