Lucky Posted July 23, 2004 Posted July 23, 2004 Is it possible to show different colour text depending on what item I choose in a field with a value list. ie: Field name is Delivery and if I choose "TNT 9" from the pull down menu I would like this to appear as red text but If I choose "TNT 10" I need in blue. Any ideas?
RalphL Posted July 23, 2004 Posted July 23, 2004 You will need a calculated field for each value. Red = If (Delevery = "TNT 9", "TNT 9", "") and Blue = If (Delevery = "TNT 10", "TNT 10", "") You can stack these fields on top of each other. Or you can use merge fields <<Red>><<Blue>> Make the <<Red>> red text color and <<Blue>> blue text color.
-Queue- Posted July 23, 2004 Posted July 23, 2004 You can also use Case and remove the false "" result.
Lucky Posted July 24, 2004 Author Posted July 24, 2004 Thanks for the reply. I have used this: Red = If(Delivery="TNT 9","TNT 9", If(Delivery="TNT 10","TNT 10", If(Delivery="TNT SAT","TNT SAT",Blue))) The problem I now have is that I have Edit value list selected so I can add special delivery's if they need it. How do I get them to appear in Blue.? I cannot set a calc as above because I do not no what the special delivery will be.
Lucky Posted July 24, 2004 Author Posted July 24, 2004 It's Ok I think it works now: Red = If(Delivery="TNT 9","TNT 9", If(Delivery="TNT 10","TNT 10", If(Delivery="TNT SAT","TNT SAT",Blue))) Blue = If(Delivery="TNT 9","", If(Delivery="TNT 10","", If(Delivery="TNT SAT","",Delivery))) Thank you for your help.
-Queue- Posted July 24, 2004 Posted July 24, 2004 If I'm understanding this correctly, you could simplify it to Red = Case( PatternCount( "TNT 9TNT 10TNT SAT", Delivery ), Delivery ) Blue = Case( IsEmpty(Red), Delivery )
Recommended Posts
This topic is 7696 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now