I am using 12.6 classic
I need to send to the column's of a Datawindow information to control the properties so that I can dictate the column's background color, The border, etc.
For example, I use the below to control the background property of a column.
if( right(customer_name, 1) = 'O', rgb(255,135,155), rgb(255,50,50))
The problem is that these codes I send with the customer's name display as well.
My attempted solution was to use the column's tag property
after sending information to the tag property I want to use the below in the background color of each column.
if( right(customer_name.tag, 1) = 'O', rgb(255,135,155), rgb(255,50,50))
but upon saving i get the error DATAWINDOW
Expecting true/false expression
I can also solve the problem even easier if I can just display the tag property of each column in my datawindow, leaving the value of the column to control the background and other column properties.