Page 1 of 1

TextBox with formula: don't want to repeat formula in other TextBox

Posted: Wed Sep 10, 2008 6:05 am
by Fabio Pagano
I have a textbox with a formula in it. Another textbox value is calculated with the same formula of the first textbox plus some other values. In this second textbox i didn't want to repeat the first textbox formula, and i wanted to use the first textbox calculated value instead.

Eg.

TextBox1.Text= "A + B"

TextBox2.Text="A + B + C"

Instead i wanted something like:

TextBox2.Text="TextBox1.Text + C"

Is this possible?

Thanks.

TextBox with formula: don't want to repeat formula in other TextBox

Posted: Wed Sep 10, 2008 6:52 am
by Edward
Hello, Fabio.

I would use variables or BeforePrintEvent of the Page or band on which these components are situated.

Code: Select all

Text1.TextValue = "5"
Thank you.