Add in VB

A

Antonio

I'm trying to add to text box in a report. Instead of adding the text box it
combining together. How can I get this text box to add together instead of
combing.

Thanks

Example

TextBox1 = 25.25
TextBox2 =1.20

The result = 25.251.20
 
R

Rick B

You can't "ADD" text, you can combine it. A+A=?

I think you could use the VAL function to grab the value of the text and add
it. Try...


Val([TextBox1]) + Val([TextBox2])

Hope that helps,

Rick B
 
Top