Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7428 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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.

Posted

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.

Posted

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.

Posted

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 )

This topic is 7428 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.