Sum

  • Thread starter Thread starter Abdul Shakeel
  • Start date Start date
A

Abdul Shakeel

Hi,

I ve repot on which I have two columns Debit & Credit, on header of the
report I have three fields Sum Debit, Sum Credit, and Balanace.

Balance is the result of [sum debit]-[sum Credit] a problem is occur when
one of these two fields having Null value the Balance also giving a Null
value for example,

[500]-[]=[] but I think it should show [500]-[]=[500] can anyone help me in
this regard.

Thanks
 
You can use the Nz function to replace the Null with 0

Nz([sum debit],0)-Nz([sum Credit],0)
 
Back
Top