Sum Of All Numeric Values In A TextBox

taber13

Registered User.
Local time
Today, 17:46
Joined
Dec 12, 2000
Messages
11
I have a select box that stores the selected value in a textbox comma delimited. This select box also stores the numeric value (price) in another textbox comma delimited. I would like to know how to Sum all the values in a textbox that has only numeric values comma delimited.
 
Change the table design. NO column should contain multiple values! You need a second table so that the multiple items can be stored properly. Take a look at the northwinds.mdb and see the order and order details tables for an example of this type of one-to-many relationship.
 
Unpack them with the instr() function and add them together.
 

Users who are viewing this thread

Back
Top Bottom