Page 1 of 1

How to calculate difference between two text boxes

Posted: Tue Dec 06, 2011 11:24 am
by fuhrj
I have two text boxes in the footer group that I need to display the difference. I tried this, but it doesn't work:

{ System.Convert.ToDouble(Text23.Text) - System.Convert.ToDouble(Text.22.Text)}

Because of the way our database is set-up, I can't subtract using the Sum function:

How to calculate difference between two text boxes

Posted: Wed Dec 07, 2011 5:32 am
by HighAley
Hello.
fuhrj wrote:I have two text boxes in the footer group that I need to display the difference. I tried this, but it doesn't work:

{ System.Convert.ToDouble(Text23.Text) - System.Convert.ToDouble(Text.22.Text)}

Because of the way our database is set-up, I can't subtract using the Sum function:
You couldn't use Text23.Text in the footer. Please, send us your report template for analysis and explain what do you want to get more detailed.

Thank you.