Jump to content
Changes to the Jaspersoft community edition download ×

change forecolor dinamic using string.


2006 IR Open Dicussion

Recommended Posts

By: Armandor - armandor777

change forecolor dinamic using string.

2006-06-08 11:00

I have a question,

 

I have a string field that contains numbers, and I need to change the forecolor testing de value of the string,

if the string is equal to 10, 100 or 1000 change the color blue, else black.

 

I tried this in print when expresion:

new Boolean($F{ag_califordinario}.equals("10" or "100"))

 

but don´t work, sorry I´m new in Ireports.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...