Setting Color to display text in RDA

Gov

Guest
Hi,

Is it possible to set different colours to the display text based on conditions?

Real Scenario:

In my report I will display an error message if a validation fails. We have two types of error messages where one is Hard and other is Warning.

I need to display the text on PDF with Green color if the error is Warning and need to display the text in RED color if the error is Hard. I did research on this and didnt find any system function to work it out. I know only we can change the font settings @ the text level which is static( Which cannot be manipulated based on conditions)

Please suggest me a solution.
 
Hi Gov,

There is a work-around for your issue, what I already used sometimes.

Duplicate your Report Variable (RV) with different name and color.
Place the new RV on the same place, over the original.
Use Hide/Show Object system function pairs based on your condition(s) to display always the approriate one.

Hope, this will work for you.

Regards,

Zoltán
 
Hi Zoltán,

This just works perfect with me!!. Cant we solve this issue using BSFN or System functions stuff?. I dont have idea to work out by that way. If there is a solution please update me.
 
Back
Top