Jump to content
We've recently updated our Privacy Statement, available here ×

appearance of fields


rajuchacha007

Recommended Posts

Hello experts,

 

Is there any possibility to print the fields in parenthese like in ().

I mean if i have a filed called $F{Employee_project_ID} which is displayed as 4. Is there any possibility to display it like (4). Can we do it in ireport? If yes, do I need to amend any changes in expression?

 

Best regards,

Abhijit.

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

if your field is an Integer field... then, you must change the textfield to a String type and set the expressione like:

"("+yourFieldName.intValue()+")"

if your field is a String field... then simply set the expression as:

"("+yourFieldName+")"

if it is in a different format, post its format so I can help you in a better way.

 give us feedback :)

_________________________________________

if it works... give me KARMA points please!    : ) 
_________________________________________

listening:  Underworld - Rez/Cowgirl



Post Edited by slow at 07/20/2010 08:35
Link to comment
Share on other sites

if you modify only the "presentation" layer... or a textfield you have no issue to solve.

if you make some modification to the field coming from the db, maybe some problems can happen... but i think, (I'm sure) you have modified only the textfield that show the code using the format "("+yourFieldName.intValue()+")" so it's all ok.

thanks for karma...

listening Lamb - Gabriel

Link to comment
Share on other sites

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...