drallpradeep Posted July 8, 2009 Share Posted July 8, 2009 Can we change the type of text from lower case to upper case automatically by jasper. I mean, if we pass value in any case lower, running etc. It will automatically convert the case and display value only in UPPER CASE or ALL CAPS(like Ms-word under font).Regards,Pradeep Link to comment Share on other sites More sharing options...
aetherflux Posted July 8, 2009 Share Posted July 8, 2009 I'm not entirely sure what you're asking here, but it sounds like a simple solution.Fields in your report are Java Strings... in the expression, simply call toUpperCase() or toLowerCase() as necessary and/or with necessary conditional stipulations, using ternary operators. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now