I have a query which displays next to a persons name 3 costs. Id like to add another column to the query that totals these 3 columns. How do i write the code to take into account those people that dont have any costs.
For example.. My query looks like this..
Name Cost1 Cost2 Cost3 Total
Al 200
JB 100 150
QJ
CH 100 200 300
I would like to reurn a value of 0 if there arent any costs associated with a particular person.
For example.. My query looks like this..
Name Cost1 Cost2 Cost3 Total
Al 200
JB 100 150
QJ
CH 100 200 300
I would like to reurn a value of 0 if there arent any costs associated with a particular person.