Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

select all not working in Report

$
0
0

Parameters:

MemberTypeId,FullName,Active

Active Parameter Properties:->Allow Multiple Values->Available Values:Active=0, Inactive=1

Query:

select UserId,FullName,Active from dbo.Users where MemberTypeId=@MemberTypeId and (Active=@Active) and (((FullName like '%'+@FullName+'%' or @FullName IS NULL) and @MemberTypeId=1) or @MemberTypeId=0)

So the active will be a dropdown of Select All, Active,Inactive.

Active and Inactive works but not select all. I would like to have an option of select all where it displays all active and inactive.


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>