Hi, I have a query which also creates a new field, which is the addition of several fields within the query.
The problem is that it gives me either null values as the result or a "weird" number.
For example,
value1=1275
value2=107
value3=500
value4=0
value5=6
all of the above give me 50 as the total
Another example
value1=575
value2=100
value3=500
value4=0
value5=0
all of the above give me 25 as the total.
the code I have is (apart from the usual SQL code...)
value1+value2+value3+value4+value5 AS 20Total
Your help is appreciated
The problem is that it gives me either null values as the result or a "weird" number.
For example,
value1=1275
value2=107
value3=500
value4=0
value5=6
all of the above give me 50 as the total
Another example
value1=575
value2=100
value3=500
value4=0
value5=0
all of the above give me 25 as the total.
the code I have is (apart from the usual SQL code...)
value1+value2+value3+value4+value5 AS 20Total
Your help is appreciated