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

sql server reporting services

group:

Programmatically hiding chart on the report page.


Programmatically hiding chart on the report page. Simon Gold
9/14/2005 11:06:04 AM
sql server reporting services:
I need to show or hide a chart on my my report based on the result of the
dataset.
I tied to assign an expression to Visible.Hidden property of the chart like
that "=First(Fields.Visible.value)" WHERE I assigned 0 or 1 to the 'Visible'
column of my dataset. It did not work. Is there a way to do that?
Thank you,

Re: Programmatically hiding chart on the report page. Robert Bruckner [MSFT]
9/20/2005 6:13:52 PM
The result of the Visibility.Hidden expression has to be a boolean value and
not an integer value.
Try this instead:
=(0 = First(Fields.Visible.value))

-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

AddThis Social Bookmark Button