I am using SSRS 2008 R2. My RDL has several subreports in it which all take field values from this parent RDL as their inputs. There are some instances though where there are 0 records returned from the parent RDL. I allow NULL input values
for all of my parameters in the subreports.
When this happens, I get the following error when I run this report from the parent RDL:
Error: Subreport could not be shown
I tried setting the subreport visibility for my subreports:
=iif(isnothing(Fields!people_id.Value),"",Fields!people_id.Value)
and
=iif(isnothing(Fields!people_id.Value),NOTHING,Fields!people_id.Value)
But it still gives me the same error above. How can I get this parent RDL to not show this error and instead hide the subreports when there is no data from the subreports?
Ryan D