Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Alerting the fields with font color Red? Post Reply Post New Topic
Author Message
Nav522
Senior Member
Senior Member


Joined: 25 Aug 2009
Location: United States
Online Status: Offline
Posts: 166
Quote Nav522 Replybullet Topic: Alerting the fields with font color Red?
    Posted: 01 Dec 2010 at 11:32am
Hello FOlks,
                 I have this report where i have the fields DataFeedCode,Frequency,ArrivalDate and ArrivalDay. I have a parameter on Datafeedcode. And what i want to acheive in this is if the particular datafeedcode didnot arrival on the particular ArrivalDay it has to be hihlighted in Red.
 
i.e. Example: Datafeedcode: ABC ArrivalDate: 05/04/2010 ArrivalDay: Tuesday. Expected arrival for ABC was on Monday. HOw would i write a condition so that it highlights the fields based on the user selecton. I have a formula written under Format color for each field saying the following
If  {?clientcode} = {ClientFileInfo.DataFeedCode} and {Data_Feed_Lookup.Frequency} = 'MONTHLY' and {@Expected Arrival} <> 1 then (CrRed)
..Can anyone help with the idea of how to move ahead.
 
Thanks
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 01 Dec 2010 at 11:39am
Your formula looks ok based on the information you've given.  What isn't working right?
 
I would add "else crBlack" to the end of it to make sure that you have a color for the data that is not alerted.
 
-Dell
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.016 seconds.