Wednesday, March 7, 2012

Expression

Hi,
Is it possible to use the content of à Textbox in an expression '
For example
In a textbox called "myTextBox" , i set the value of this textbox to "Red"
In an other textbox in the report, i want to set the value of this
textbox, to an expression checking the content of a field of the dataset
against the content of "myTextBox":
iif(Fields!theColor.Value = myTextxBox.value , "Color Red", "Not red")
Merci
Philippe=iif(Fields!theColor.Value = ReportItems!myTextBox.Value, "Color Red", "Not
red")
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Philippe" <ph.boussaroque@.Espace-NTIC.com> wrote in message
news:%23X9mQexZEHA.2444@.tk2msftngp13.phx.gbl...
> Hi,
> Is it possible to use the content of à Textbox in an expression '
> For example
> In a textbox called "myTextBox" , i set the value of this textbox to
> "Red"
> In an other textbox in the report, i want to set the value of this
> textbox, to an expression checking the content of a field of the dataset
> against the content of "myTextBox":
> iif(Fields!theColor.Value = myTextxBox.value , "Color Red", "Not red")
> Merci
> Philippe
>|||Ok it works
Merci beaucoup
Philippe
"Lev Semenets [MSFT]" <levs@.microsoft.com> a écrit dans le message de news:
#WBDGRyZEHA.2944@.TK2MSFTNGP11.phx.gbl...
> =iif(Fields!theColor.Value = ReportItems!myTextBox.Value, "Color Red",
"Not
> red")
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Philippe" <ph.boussaroque@.Espace-NTIC.com> wrote in message
> news:%23X9mQexZEHA.2444@.tk2msftngp13.phx.gbl...
> > Hi,
> >
> > Is it possible to use the content of à Textbox in an expression '
> >
> > For example
> > In a textbox called "myTextBox" , i set the value of this textbox to
> > "Red"
> > In an other textbox in the report, i want to set the value of this
> > textbox, to an expression checking the content of a field of the
dataset
> > against the content of "myTextBox":
> >
> > iif(Fields!theColor.Value = myTextxBox.value , "Color Red", "Not red")
> >
> > Merci
> >
> > Philippe
> >
> >
>

No comments:

Post a Comment