adding numbers contained in textboxes

dmyoungsal

Registered User.
Local time
Today, 14:24
Joined
May 1, 2016
Messages
112
I have 4 textboxes in my form which may or may not contain numbers (Qty)

I need to add these together into a fifth textbox to use in a calculation. All that happens when I add the together is they are concatenated.

how do I convert the textbox contents to a number format?

The current formula in the textbox is:
=(Nz([txtCount1],0)+Nz([txtCount2],0)+Nz([txtCount3],0)+Nz([txtCount4],0))
 
in the textbox property, set the FORMAT
FIXED
2 DECIMALS

(or whatever you need)
 
that's under Format property isn't it?

I have been looking at the Data tab.

Thank you
 

Users who are viewing this thread

Back
Top Bottom