Groups | Blog | Home
all groups > sql server reporting services > december 2004 >

sql server reporting services : Bar Visibility


Jim
12/28/2004 3:35:35 PM
Not sure, but probably this is happening because you are getting a type
mismatch. Try this:
=(Parameters!DETAIL.Value.ToString()="false")

Note that you don't really need to use the IIf statement here, because your
expression evaluates to a Boolean anyway...

[quoted text, click to view]

Steven Bennett
12/28/2004 3:38:15 PM
I am trying to toggle the visibility of a simple bar by the value of a
parameter named DETAIL.

This is the expression used =IIF(Parameters!DETAIL.Value=true,false,true)

When I view the report in .NET IDE it displays fine, when deployed to the
target server I recieve the following error

Reporting Services Error
----------------------------------------------------------------------------
----

a.. Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown. (rrRenderingError) Get Online Help
a.. Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown.
a.. Object reference not set to an instance of an object.

----------------------------------------------------------------------------
----
Microsoft Reporting Services


Any help would be greatly appreciated.

-Steve

v-sguo NO[at]SPAM online.microsoft.com
12/30/2004 10:27:03 AM
Hello Steve,

Thanks for your reply.

I have reproduced this issue on my side and received the exact same error.
I believe you have found a new bug in Reporting Service.

I have forwarded this issue to the appropriate folks to catch their
immediate attention. They will investigate this issue and determine if it
is a bug at the urgent level.

Thank you for all your feedback on RS. I believe that all customers'
feedback will enhance our products.

Have a nice day!


Sophie Guo
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button