all groups > sql server reporting services > october 2007 >
You're in the

sql server reporting services

group:

Subreport nuttiness


Subreport nuttiness beener
10/25/2007 1:50:21 PM
sql server reporting services:
I'm working on SSRS 2000 to start off with. I have a subreport that
takes one parameter. It worked beautifully until I had to change my
result set to include records that did not always have the necessary
value for the parameter so my parameter went from..

parameter = fieldname

To

parameter = IIF(fieldname <> "", fieldname, 0)

My problem went from Error: Subreport could not be shown for the
records without the field value to showing the error message for those
that do have a valid value in the field.

I assume that I must be missing something rather simple, either it is
our altitude affecting my brain or I haven't gotten over the shelling
my baseball team took last night.

Please help!

TIA

Renee
Re: Subreport nuttiness beener
10/26/2007 6:49:04 AM
[quoted text, click to view]

I fixed it through the stored proc using IsNull in the select
statement. But I would still love to understand why the IIF statement
didn't work.
AddThis Social Bookmark Button