Jump to content
JasperReports Library 7.0 is now available ×

Date input control works in iReport but not Server


jprateragg

Recommended Posts

 I'm using iReport 4.6 to design a report querying a MySQL database. I created a new parameter and used the parameter class java.util.date (only want the date, not time too). When previewing the report, it works fine in iReport. When I deploy the report and run it on the server, the date format is different, and after selecting a date where I know data exists, I get a message saying the report is empty. How can I fix this? I'm using JasperReports Server 4.5 on Windows. Thanks!

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 I got it fixed. My input control didn't have the same name as my parameter. I was unaware that the input control name was case-specific to the parameter name. I changed the input id characters to all upper case (to match the parameter) and it works fine now.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...