J
John R. Youngman
Hi.
I'm having trouble converting a null value to a 0 (zero) in a query. I have
a field name [DepositBy] and another field named [DepositAmount].
If there is no value in [DepositAmount] I'd like it to show a 0 (zero)
instead of being blank (null). I tried using a "then 0" but it doesn't
work.
Here's the query (in the Total row I'm using an "expression") :
JohnDeposit: Sum(IIf([DepositBy]="3",[DepositAmount],"0"))
TIA
John
I'm having trouble converting a null value to a 0 (zero) in a query. I have
a field name [DepositBy] and another field named [DepositAmount].
If there is no value in [DepositAmount] I'd like it to show a 0 (zero)
instead of being blank (null). I tried using a "then 0" but it doesn't
work.
Here's the query (in the Total row I'm using an "expression") :
JohnDeposit: Sum(IIf([DepositBy]="3",[DepositAmount],"0"))
TIA
John