jprateragg Posted August 14, 2012 Share Posted August 14, 2012 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 More sharing options...
jprateragg Posted August 16, 2012 Author Share Posted August 16, 2012 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 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