Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Remove Null checkbox in SSRS


Remove Null checkbox in SSRS

Author
Message
MaggieW
MaggieW
SSC Rookie
SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)

Group: General Forum Members
Points: 41 Visits: 124
Dear all:

1. We had this requirement to remove the null checkbox next to the parameter. Anyone has any idea how to do that.
Please refer to Capture.JPG for the parameter color which is a single-valued parameter that allows null, how to remove the Null checkbox on the right.

2. For a single-valued parameter that has a dropdown list that allows null, please refer to the Capture2.JPG for parameter Lab ID2, how not to show null but rather a blank.

Are those doable at all in SSRS?
Thank you for the help!
Attachments
Capture.JPG (12 views, 8.00 KB)
Capture2.JPG (12 views, 9.00 KB)
pietlinden
pietlinden
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2185 Visits: 12548
If you disallow nulls, the checkbox will not be displayed. But you want to allow nulls but still hide it, right?
MaggieW
MaggieW
SSC Rookie
SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)

Group: General Forum Members
Points: 41 Visits: 124
pietlinden (7/14/2014)
If you disallow nulls, the checkbox will not be displayed. But you want to allow nulls but still hide it, right?



That's correct!
MaggieW
MaggieW
SSC Rookie
SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)

Group: General Forum Members
Points: 41 Visits: 124
MaggieW (7/14/2014)
Dear all:

1. We had this requirement to remove the null checkbox next to the parameter. Anyone has any idea how to do that.
Please refer to Capture.JPG for the parameter color which is a single-valued parameter that allows null, how to remove the Null checkbox on the right.

2. For a single-valued parameter that has a dropdown list that allows null, please refer to the Capture2.JPG for parameter Lab ID2, how not to show null but rather a blank.

Are those doable at all in SSRS?
Thank you for the help!


I think I just solved the first requirement by configure the parameter from 'Allow null Values' to 'Allow Blank Values' by doing so I need to change my SPs according in where Clause from where Color =@color or @color is null to Color =@color or @color =' '
However I still need a solution for the second requirement.
Thank you!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search