August 15, 2018 at 1:39 pm
Hi ,
I have a report which has two parameters 1)ENTER ID ( you can enter id ) 2) SELECT ID LIST (multiple values) .......Both of the parameters set to value ' ' /null. so when i preview report , by default parameters are set to null , it still shows empty tablix. How can i hide tablix if parameters both are not selected?
August 15, 2018 at 2:05 pm
Can't you check the Parameters.Count property to see how many items are selected and use that to determine whether an object is visible? Something like
Ctl.Visible = (Parameters.Count>=2)
August 16, 2018 at 7:05 am
komal145 - Wednesday, August 15, 2018 1:39 PMHi ,
I have a report which has two parameters 1)ENTER ID ( you can enter id ) 2) SELECT ID LIST (multiple values) .......Both of the parameters set to value ' ' /null. so when i preview report , by default parameters are set to null , it still shows empty tablix. How can i hide tablix if parameters both are not selected?
Set the visibility of the tablix to an expression:=IIF(IsNothing(Parameters!ParmName1.Value), IIF(IsNothing(Parameters!ParmName2.Value),True, False),False)
Be sure to substitute in the names of your parameters.
Steve (aka sgmunson)
Rent Servers for Income (picks and shovels strategy)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy