reneschmidthome-sh.de Posted June 3, 2018 Share Posted June 3, 2018 Hello I have a report with an input field with which I query a date.In JasperStudio I have the possibility to define a default:Class: java.sql.DateDefault Value Expression: DATE(YEAR(new java.util.Date()),1,1)How do I define the default date in the Jasperserver?if the input field is published with, no value is given. The field is empty Link to comment Share on other sites More sharing options...
riodavid Posted June 5, 2018 Share Posted June 5, 2018 Default: new java.util.Date() Link to comment Share on other sites More sharing options...
reneschmidthome-sh.de Posted June 5, 2018 Author Share Posted June 5, 2018 Hello,I have to define what I have to define.But where do I define it? I found no possibility to set a default on the Jasper server. Link to comment Share on other sites More sharing options...
riodavid Posted June 5, 2018 Share Posted June 5, 2018 Create a parameter, publish the report with the parameter to the server. 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