Sum

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
 
O

Ofer Cohen

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top