Hi Guy's What is the method of checking if yes/no field is null
is it
if = 0
if is null
if = nothing
???
Code:curTotal = DSum("Price", "tblInvoices", "[Customer] = '" & strCust & "'") curPaid = DSum("Price", "tblInvoices", "[Customer] = '" & strCust & "' And Paid = Yes") If curUnpaid = DSum("Price", "tblInvoices", "[Customer] = '" & strCust & "' And Paid = No") = 0 Then curUnpaid = "00.00" Else curUnpaid = DSum("Price", "tblInvoices", "[Customer] = '" & strCust & "' And Paid = No") End If