woody8976 Posted January 11, 2009 Share Posted January 11, 2009 IReport 3.0Using a Style - test2 (as per attached jrxml), I have set a numeric field to have a currency format.When I run the report it does not observe the style.Why? Link to comment Share on other sites More sharing options...
drlaz Posted January 16, 2009 Share Posted January 16, 2009 You do not want to use the Markup/Style option in Properties, which I think you have. Reset that to the default 'none' Instead set the style property (right below Opaque) to "test", which should appear in the Dropdown. Styled markup means there will be escape sequences in the string to be honored as format controls. HTH. Link to comment Share on other sites More sharing options...
woody8976 Posted January 17, 2009 Author Share Posted January 17, 2009 Thanks for the response, I don't know what you mean by Opaque - I don't have that control in my version - 3.0? Link to comment Share on other sites More sharing options...
drlaz Posted January 18, 2009 Share Posted January 18, 2009 The basic idea is that you want to apply a text style to that field, and instead you are telling iReport that the contents of the field contain style information. You want to uncheck Styled Text and put the name of your style in the Style field that in 3.0.0 is just above the "Print When Expression" in the Properties panel. 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