Sum not Concatenate

abusaif

Registered User.
Local time
Today, 14:55
Joined
Oct 31, 2011
Messages
10
Hello all,
I am trying to add values of two fields in a query but Total:sum([value1]+[Value2]) is only concatenating these two fields, where as I want to add them.
 
Are the fields formatted in your table as Text or Numbers. They may look like numbers but may be formatted in the table as text. This may be the issue.
 
If they are number, try this, it will take care of nulls as well

Total: (Nz([value1],0)+Nz([Value2],0))

No need to use Sum.
 
Hi

try

(val(nz([value1];0))+val(nz([Value2];0)))
 

Users who are viewing this thread

Back
Top Bottom