SBBmaster09
Registered User.
- Local time
- Today, 20:27
- Joined
- Apr 26, 2013
- Messages
- 92
How can I add multiple fields?
I have almost 15 textfields with values and i want to get the sum of it. I have a total textfield where the sum of all these fields will be inputted. How can I get the sum not using the
because when I retrieve the data the Total textfield display the string text of all the values of the field, not the total.
Thank you.
I have almost 15 textfields with values and i want to get the sum of it. I have a total textfield where the sum of all these fields will be inputted. How can I get the sum not using the
Code:
'txtAPE.Value = txtAPE11.Value + txtAPE12.Value + txtAPE13.Value + txtAPE14.Value + txtAPE21.Value + txtAPE22.Value + _
txtAPE23.Value + txtAPE24.Value + txtAPE25.Value + txtAPE26.Value + txtAPE27.Value + txtAPE28.Value + _
txtAPE29.Value + txtAPE210.Value + txtAPE211.Value + txtAPE212.Value + txtAPE31.Value + txtAPE32.Value
because when I retrieve the data the Total textfield display the string text of all the values of the field, not the total.
Thank you.