I am adding 4 fields together that contain either 0 or a currency value...I want to show a "0" in the field if the value is Null or ""...Nz is nested in each of the 4 fields that are being adding so each field is set to "0" if there are any blanks or nulls.
I have included the statement for one of the other fields where the Nz statement works great...I can not get the "sum of the other fields" to work Please Help!
Working statement in one of the fields being added
Code:
=IIf(Nz([sage_sd_schlrshp],"")="","0","& [sage_sd_schlrshp]")
this is the "sum of the other fields" statement
Code:
= IIf(Nz(=([sage_sd_schlrshp]+[sage_vf_schlrshp]+[vf_private_donor]+[Other]),"")="","0",=([sage_sd_schlrshp]+ [sage_vf_schlrshp]+ [vf_private_donor]+[Other]))
I have even tried this statement
Code:
= IIf(Nz(=([sage_sd_schlrshp]+[sage_vf_schlrshp]+[vf_private_donor]+[Other]),"")="","0","& =([sage_sd_schlrshp]+ [sage_vf_schlrshp]+ [vf_private_donor]+[Other])")