Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I have a calculation field that returns a number. Can I make the display change the color of the number returned depending on the value? For example if the number is less than zero, the text (number)is red. If less than 30, it would be yellow and if more than 30 would be green. How do I set up the color command for that?

Posted

NumberDisplay=

Case (

NumberField<0 ; TextColor ( NumberField; RGB ( 250; 0; 0)) ;

NumberField<30 ; TextColor ( NumberField; RGB ( 0; 250; 250)) ;

TextColor ( NumberField; RGB ( 0; 250; 0))

)

Result is Number or Text. Doesn't seem to matter.

You might need to change the rgb values above, bcs I didn't have the time to figure out what is yellow and green.

This topic is 6526 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.