I heed to define 2 parameters in reporting services
- to select date between 2 dates (ideally 2 calendars)
- to select time; I have 3 needed ranges (08:00:00-15:59:59, 16:00:00-23:59:59, 00:00:00-07:59:59) Ideally 3 buttons.
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would use three parameters:
Possible value for TimeRange:
Note that you can set the labels to whatever will help your users: “Early shift (Midnight – 8AM)”
Then in your SQL hand in the TimeRange parameter as an int and convert it to two parameters for your SQL.
(Don’t use BETWEEN if you are using my exact code, it won’t handle the EndHour appropriately.)