Hi Guys,
How can I change this expression to add 0 to any null values?
soflinesum: Sum([qty]*[price])
TIA
Les
nospam.com - 30 Jun 2005 22:04 GMT
>How can I change this expression to add 0 to any null values?
>
>soflinesum: Sum([qty]*[price])
Sum(Nz(qty*price,0))
Marshall Barton - 01 Jul 2005 00:32 GMT
>How can I change this expression to add 0 to any null values?
>
>soflinesum: Sum([qty]*[price])
You should not have to do that because the aggregate
functions ignore null values in their calculations.

Signature
Marsh
MVP [MS Access]