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 6425 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Can anyone advise on the best method for changing colors of a field based on a calculation? Essentially we have amount1 divided by amount2 and if the amount is over 70% we want the field text to be red. If it is under then it stays black.

Thank you a ton!

Posted

Let ([

_value = Amount1 / Amount2

] ;

Case (

_value > .70 ;

TextColor ( _value ; RGB ( 190 ; 0 ; 0 ) ) ;

TextColor ( _value ; RGB ( 0 ; 0 ; 0 ) ) )

)

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