Filtering table
i want to generate report but if admin select particular date then it display only data from that date pls help me i dont understand how is it work
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Abhishek KumarRank #510 · 4.8K reputationPosted Oct 3, 2014, 1:39 AM EDT
Approach would be as below
Pass @Role and @date as parameter
Do a check in report procedure as
If(@Role='Admin')
Select data from table where date=@Date
Else
Select data from table
Hope this will help , let me know if you want any sample code for this.
Abhishek
Vithal WadjeRank #19 · 47.2K reputationPosted Oct 3, 2014, 1:45 AM EDT