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

Recommended Posts

Posted (edited)

Greetings

I am trying to format the text colour in the following function so that "1st Target" = Orange, "2nd Target" = Blue, "3rd Target" = Purple and "No Target" = Red.

Case (

Nett Sales Less Support ≥ 550000 and Nett Sales Less Support < 750000 ; "1st Target";

Nett Sales Less Support ≥ 750000 and Nett Sales Less Support < 1000000 ; "2nd Target" ;

Nett Sales Less Support ≥ 1000000 ; "3rd Target" ;

"No Target Hit" )

Please could someone help me!

Edited by Guest
Posted

Case(

  Nett Sales Less Support < 550000, 

    TextColor( "No Target Hit", RGB( ..., ..., ... ) );

  Nett Sales Less Support < 750000, 

    TextColor( "1st Target", RGB( ..., ..., ... ) );

  Nett Sales Less Support < 1000000, 

    TextColor( "2nd Target", RGB( ..., ..., ... ) );

  // otherwise

    TextColor( "3rd Target", RGB( ..., ..., ... ) ) )

RGB() is a function to define a color value from Red, Green and Blue components. You can look up values of these components in Mac OS color picker.

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