General information
Category:
Reports & Report designer
>In report designer:
>
>When I drag a field from the DataEnvironment, I can set its ForeColor and BackColor, but is it possible to set this in run-time based on the field's value? I've tried using replace .FRX itself, but the PenRed, PenGreen and PenBlue field in .FRX are all constants, so I can't replace them with variable...
>
>Any idea?
>
>Chris Lee
I have use the following approach:
add code with a do case
case this value set color to red
case this other value set color to yellow
at run time you can't use 192,192,192
either use the color's value or set value = to rgb(255,255,0) for example
the trick is to find a good spot for the code
good luck
Art Castro
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only