danielobs Posted January 6, 2013 Share Posted January 6, 2013 Hi, I have problem with sent data parameter to report. Parameter is data format: on input control is: 04-03-2012 but on the raport is: 12-01-04 00:03 See the attached picture Best regards, Daniel Link to comment Share on other sites More sharing options...
oesina Posted January 7, 2013 Share Posted January 7, 2013 Input control will use default Java locale to set date format. Use Pattern property in your report to adjust report view. Link to comment Share on other sites More sharing options...
ajinkya_c Posted January 7, 2013 Share Posted January 7, 2013 If your report is iReport based report then select the date field and go to the properties of the field, go to pattern and set required date pattern. Link to comment Share on other sites More sharing options...
danielobs Posted January 7, 2013 Author Share Posted January 7, 2013 In iReport all is ok. After set pattern the date is wrong when report is generating in Jasperserver. . In addition, the data generated by the SQL they are wrong. Out of this period we need. Link to comment Share on other sites More sharing options...
cjasper Posted January 7, 2013 Share Posted January 7, 2013 the input control that you create in jasperserver must match with the parameter you have in your report. Please make sure the respective parameter names are matching. Link to comment Share on other sites More sharing options...
danielobs Posted January 7, 2013 Author Share Posted January 7, 2013 Parameter names are matching.The problem is with the format of the date.But I do not know why. 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