use the value of textbox in another text box
Posted: Sun Jul 14, 2019 11:17 am
I have a Stimulsoft report. In one of the text box of the report I use this:
{Round(Div(MultipleMArkUnit.Column1,SumUnit.Column1),2)} to generate the value that I want.
now I want to use the value of this Textbox in expression and show the result in another text box.
I use the code below in the second text box, and I want if the value of text22 <11 return 1 else return 2 in the second textbox.
{IIF(Text22< 11, 1, 2)}
but when I want to see preview the report I faced this error:
The error of compilation
The error of compilation is found in the 'Text' property of the 'Text26' component:
Operator '<' cannot be applied to operands of type 'Stimulsoft.Report.Components.StiText' and 'int'
how can I do this truly?!
{Round(Div(MultipleMArkUnit.Column1,SumUnit.Column1),2)} to generate the value that I want.
now I want to use the value of this Textbox in expression and show the result in another text box.
I use the code below in the second text box, and I want if the value of text22 <11 return 1 else return 2 in the second textbox.
{IIF(Text22< 11, 1, 2)}
but when I want to see preview the report I faced this error:
The error of compilation
The error of compilation is found in the 'Text' property of the 'Text26' component:
Operator '<' cannot be applied to operands of type 'Stimulsoft.Report.Components.StiText' and 'int'
how can I do this truly?!