yashdeep Posted March 28, 2009 Share Posted March 28, 2009 Hello!i have 2 reports (master and child), both reports are having prompt on date, i am able to run the reports individually, i set the default value by defining new date() in default value expression for the parameter.Now when i changed the value of date input control on individual report (using calender control)and run the report its works fine... if i want to drill from master to child report and want to pass changed date to the child report and want to set it as default in date input control of child report, but on child report the value assigned to date input control is in format :Sat Mar 28 18:35:54 IST 2009 and gives error specify the valid date value . i tried option like new SimpleDateFormat("dd-MM-yyy") etc........ but no luck.....Pls help me on this issue............. Thanks & Regards,Yash Link to comment Share on other sites More sharing options...
mdahlman Posted April 8, 2009 Share Posted April 8, 2009 Yash, Have you solved this yet? If you use a link type of ReportExecution with parameters of a Date type, then the formatting will be handled automatically by JasperServer. Regards,Matt Link to comment Share on other sites More sharing options...
yashdeep Posted April 16, 2009 Author Share Posted April 16, 2009 Matt! I solved this............ thanks for reply, i did the same. 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