Skip to main content
Solved

Change text color based on value in generic inquiry

  • 13 June 2024
  • 2 replies
  • 49 views

Hello,

We have a GI that shows our Purchasing Dept. what needs to be re-ordered for items.  I’ve been able to create the whole thing and use the Row Style to highlight High Priority items in ‘red’.  They have asked if I could instead just make the color of the values ‘red’ instead of the entire row.  Specifically the Qty. On Hand column.  Picture below.

 

2 replies

Userlevel 7
Badge +4

Hi @bigred1022! For this you just need to use one of the other red options in the style listing.

For fonts, this would be the color which ends in 0, so red0.

I was working on my Service Order primary list and this was my function:

=IIF([FSServiceOrder.CuryBillableOrderTotal]>10000, 'red0','' )

 

This was my result:

 

This will turn the whole row with red font, but if you only wanted the column of values to turn conditionally red, you would use the style option in the Results Grid section instead of the Row Styles at the top of the results grid:

Result is:

 

Hope this helps!

Userlevel 3
Badge

It was the 0 after red I was missing.  THANK YOU!!!

Reply