Add in VB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top