I have query which retrieves multiple column vary from 5 to 15 based on input parameter passed.I am using table to map all this column.If column is not retrieved in the dataset(I am not talking abt Null data but column is completely missing) then I want to hide it in my report.
Can I do that?
Any reply showing me the right way is appricited.
-Thanks,
Digs
In the Column properties, expand the Visibility section, and then click on Hidden, and choose Expression.
In the expression, use the same input parameters that you are using to build the column list in your SQL Statement to set the property.
An example expression might look like this:
=iif(Parameters!ShowColumn1.Value= True, false, true)
Where Parameters!ShowColumn1 is a report parameter that you have defined,
This should get you started...
BobP
|||Hi,
Thanks for the reply..Need bit change =IIf(Fields!Collection.IsMissing=True,True,False) In Visibility -- > Hidden
-Thanks,
Digs
No comments:
Post a Comment