Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding two textboxes togther

Status
Not open for further replies.

megasuperman

Programmer
Aug 20, 2001
21
0
0
US
How can you add two textboxes together
I am trying to add QtyI to the Current Value of QTYS

I am Currently have set in the Form Manager under

Actions Preformed Before Transition

Object Memeber Value
QTYS Value Request("QTYS") + Request("QtyI")

the problem with that is that it is adding it to the end instead of adding the vaules for a total


So if QTYS = 3
and QtyI = 3
then QTYS = 33

and if received again
QTYS = 333

it keeps adding it on to the end...

AHHHH!!!


Please Help

What I need is the command it add to total
thanx
 
you have to convert to a numeric value first,
by using the Cdbl() function

br
Gerard
 
got it working

used

parseFloat(QtyI.value) + parseFloat(QTYS.value)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top