Problem with data input control - format date is wrong after make report.
Posted on January 6, 2013 at 2:58pm
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
Joined: Mar 24 2010 - 1:52pm
Last seen: 2 years 10 months ago
Posted on January 6, 2013 at 5:46pm
Input control will use default Java locale to set date format. Use Pattern property in your report to adjust report view.
Joined: Jun 20 2011 - 10:27am
Last seen: 9 years 10 months ago
Posted on January 7, 2013 at 12:43am
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.
Joined: Aug 29 2012 - 6:13am
Last seen: 6 years 2 months ago
Posted on January 7, 2013 at 1:04am
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.

Joined: Mar 24 2010 - 1:52pm
Last seen: 2 years 10 months ago
Posted on January 7, 2013 at 4:18am
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.
Joined: Jul 24 2012 - 7:20am
Last seen: 5 years 1 month ago
Posted on January 7, 2013 at 6:13am
Parameter names are matching.
The problem is with the format of the date.
But I do not know why.
Joined: Mar 24 2010 - 1:52pm
Last seen: 2 years 10 months ago