limiting range between dates

0

Is there a way to set constraint on date range parameters to be unable to exceed 90 days? 

ewallace's picture
Joined: Oct 7 2016 - 11:31am
Last seen: 2 years 4 months ago

3 Answers:

1

If you are publishing your report to the server, then on the parameter datatype page, you can find the minimum and maximum values.

you can set your range using these values.

If you are not using jasper server, then you need to create another parameter that would take the date parameter and based on a conditional expression it would  allow or disallow the usage of specific date.

reportdev's picture
1224
Joined: Oct 12 2015 - 12:05pm
Last seen: 1 month 2 weeks ago
0

The issue is not limiting the user to specific date ranges. The user needsto be able to input dates they want, but unable to exceed 90 days in the start/end date ranges.

ewallace's picture
Joined: Oct 7 2016 - 11:31am
Last seen: 2 years 4 months ago
0

Could you please post your jrxml

reportdev's picture
1224
Joined: Oct 12 2015 - 12:05pm
Last seen: 1 month 2 weeks ago
Feedback