anupp1983 Posted July 20, 2011 Share Posted July 20, 2011 Hi, I am using jasper report4.0.1.My problem is how to use installation parameter pattern Dynalically in Ireport.Actually i dont want to use static pattern(#,##0.0000) in ireport4.0.1.Is it possible pattern dynamically in IReport.can i use Dynamically Pattern in Ireport4.0.1?Can any one give suggestion ....thanks in advance.AnupPost Edited by anupp1983 at 07/20/2011 12:17 Link to comment Share on other sites More sharing options...
lknueve Posted July 29, 2011 Share Posted July 29, 2011 I've done the following for numbers and dates: ($F{fieldName}==null?"N/A":new java.text.DecimalFormat("#,##0").format($F{fieldName}))($F{startDtLocal}==null?"N/A": new java.text.SimpleDateFormat("MMMMM dd, yyyy").format($F{startDtLocal})) 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