blenheimfire Posted October 31, 2019 Share Posted October 31, 2019 I'm running Jasper Report Server 6.10I setup input control date for a report the report will alway return blank when attempting to sort by date range.I've ensured the parameters match the ID of input control exactly. If I manually put the dates into query it returns successfully. I'm not sure what i'm missing. Please help if you can. Link to comment Share on other sites More sharing options...
arnaudsimon091 Posted October 31, 2019 Share Posted October 31, 2019 Hi blenheimfire ! I have faced this problem too, you need to change your "AND" statement in your query.Instead of : AND p.RegistrationDate BETWEEN $P{StartDate} AND $P{EndDate}use : AND $X{[bETWEEN], p.RegistrationDate, StartDate, EndDate}Try to check this doc to have a better understanding of this syntax : https://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v60/cascading-input-controlsBest regards. 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