Showing posts with label switch. Show all posts
Showing posts with label switch. Show all posts

Monday, March 12, 2012

Get toggle state in an expression

Is it possible to get a toggle state in an expression?
I'm thinking something like:
=Switch( ReportItems!textbox8.ToggleState, true,
RunningValue(1, Count, "table1") > 3, true,
true, false)
Of course, "ToggleState is not a member of ReportItem". Is there a
member that will tell me if the toggle box is showing a + or -? Or
some other way of telling if the button has been toggled?
ThanksHi steve,
Even I am looking for same kind of solution.Did you come across anything for
this.
Do mind sharing it?
thanks
S
"Steven" wrote:
> Is it possible to get a toggle state in an expression?
> I'm thinking something like:
> =Switch( ReportItems!textbox8.ToggleState, true,
> RunningValue(1, Count, "table1") > 3, true,
> true, false)
> Of course, "ToggleState is not a member of ReportItem". Is there a
> member that will tell me if the toggle box is showing a + or -? Or
> some other way of telling if the button has been toggled?
> Thanks
>|||Me too! Did you find a solution?
"ERS Developer" wrote:
> Hi steve,
> Even I am looking for same kind of solution.Did you come across anything for
> this.
> Do mind sharing it?
>
> thanks
> S
> "Steven" wrote:
> > Is it possible to get a toggle state in an expression?
> > I'm thinking something like:
> > =Switch( ReportItems!textbox8.ToggleState, true,
> > RunningValue(1, Count, "table1") > 3, true,
> > true, false)
> >
> > Of course, "ToggleState is not a member of ReportItem". Is there a
> > member that will tell me if the toggle box is showing a + or -? Or
> > some other way of telling if the button has been toggled?
> >
> > Thanks
> >