2006 IR Open Dicussion Posted September 5, 2006 Share Posted September 5, 2006 By: ka4sri_1999 - ka4sri_1999 iReport v1.2.0 patterns display issue 2006-04-10 21:14 Hi, I am unable to create patterns for the fields display. I am reading the data from a XML datasource and would like to display certain fields values as a currency parameter but when I set the pattern in the text field dialog box I still do not get the currnecy display. Do I need to do anything specific to achieve the patterns? Please help. Thanks & Regards Subashree By: cardondenis - cardondenis RE: iReport v1.2.0 patterns display issue 2006-04-12 09:57 What is the datatype of your field. The format pattern is ignored if the field's type is string, which is probably the case if you are using an XML datasource. You may cast your xml data to some other type in the field tab. Just set your field to a numeric data type and the pattern will be picked up correctly. Cheers, Denis 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