Skip to main content
Solved

Change Field Background Color in Report Based on Value

  • January 10, 2025
  • 3 replies
  • 75 views

Forum|alt.badge.img

Is it possible to change the background color of a field in a report based on its value ?

The values are predefined in a dropdown, such as 1, 2, 3, and 4, with corresponding labels.
I need the field background color to change as follows:

  • For value 1, set the background color to red.
  • For value 2, set the background color to green.
  • For value 3, set the background color to yellow.

How can this be achieved?

When the value changes, the color should also change accordingly.

 

Best answer by arthia

Hi ​@rashmikamudalinayake10 , We can use 3 textboxes filled with background color, based on the value add visibility condition in VisibleExpr.

3 replies

Forum|alt.badge.img+3
  • Jr Varsity III
  • 89 replies
  • Answer
  • January 10, 2025

Hi ​@rashmikamudalinayake10 , We can use 3 textboxes filled with background color, based on the value add visibility condition in VisibleExpr.


Forum|alt.badge.img

Thanks

 


Forum|alt.badge.img
  • Freshman II
  • 42 replies
  • October 9, 2025

Is there no other way to accomplish this? 

I have a report with 30 text boxes and don’t want to try and manage 3 versions of each.

I would like to dynamically set the Style Name of the Textbox based on the Value.