all groups > sql server reporting services > april 2005 >
You're in the

sql server reporting services

group:

Conditional visibility in a table group.


Conditional visibility in a table group. Nick Addison
4/15/2005 10:05:03 PM
sql server reporting services:
I have a report that presents the detail lines in two groupings. So I
have the detail lines as a subset of group1 which is a subset of group2.
Nothing clever there.

I want now to add a line to the report that is only visible if a
parameter "DisplaySignOff" (which will just show a box which users will
sign) has value = "Y".

If I add a detail group below the existing detail line and enter an
expression to make its visibility conditional on the parameter, the
original detail line becomes invisible too. I tried to change the name
of the added group, but it insists on having the same group name- I can
change it (type some other name), but the change is ignored.

If a add a third group that is a subset of group2 (and just select a
footer) and enter an expression to make its visibility conditional on
the parameter, the detail lines disappear again.

RE: Conditional visibility in a table group. Charles Kangai
4/16/2005 3:34:02 AM
Do you want to add the line for each record when DisplaySignOff = "Y"? If so,
right-click on your existing Detail row and choose "Insert Row Below". Now
select this row using its grey selector handle (this selects the entire row).
Now set the Hidden property under Visibility to an expression like:
=iif(ReportItems!DisplaySignOff = "Y", False, True)

Charles Kangai, MCDBA, MCT


[quoted text, click to view]
AddThis Social Bookmark Button