The values aren't the strings "Collapsed" and "Expanded", they're True and
False (Boolean)
--
This post is provided 'AS IS' with no warranties, and confers no rights. All
rights reserved. Some assembly required. Batteries not included. Your
mileage may vary. Objects in mirror may be closer than they appear. No user
serviceable parts inside. Opening cover voids warranty. Keep out of reach of
children under 3.
[quoted text, click to view] "Jason Sherry" <JasonSherry@discussions.microsoft.com> wrote in message
news:A8841FE1-D4BC-41CD-A627-05192C58DE92@microsoft.com...
> I added a "Hide Details" Boolean parameter which I am using on the
> Visibility.Hidden property for some rows in a table. But if I enter the
> following in the InitialToggleState property for the expansion cell the +
> (plus) "icon" never changes to a - (minus) "icon".
>
> Here is the expression for InitialToggleState:
> =IIF(Parameters!HideDetails.Value = True,"Collapsed","Expanded")
>
> My goal is to have the toggle "icon" change to a minus when the rows are
> visible by default (when the parameter is set this way) and a plus when it
> isn't.
>
> Here is the expression for Visibility.Hidden:
> = Parameters!HideDetails.Value
>
> Has anyone else seen this? Is there a problem with my expression?
>