Page 1 of 1

How to color of text for variable

Posted: Wed Sep 30, 2009 2:22 am
by jayanthi
Hai,

I have a variable named as 'Total' (String datatype); set it property Allow Html Tags =True.
I have set TextBox1 forecolor as red

Passing the value from code as
report.Dictionary.Variables("totalOpr").Value = "Total Number of Opr: " & TextBox1.Text

Am getting output like Total Number of Opr: 100; 100 is not getting print in red color.
I need the output as like Total Number of Opr: 100

Is it possible to do, plz guide me.

Thank u
Jay

How to color of text for variable

Posted: Wed Sep 30, 2009 2:45 am
by Ivan
Hello,

Please use following expression:

"Total Number of Opr: " & TextBox1.Text & " "

Thank you.

How to color of text for variable

Posted: Wed Sep 30, 2009 4:06 am
by jayanthi
Thank u so much, its working for me.

Jay

How to color of text for variable

Posted: Wed Sep 30, 2009 5:52 pm
by Ivan
Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.