S
Sandy
Hello -
I am getting an error with this formula:
=IIf(NZ(DLookUp([PymtTotal],"q_PymtTotalsBySessionSub","[FamilyID]=" &
[Family_ID])),0,(DLookUp([PymtTotal],"q_PymtTotalsBySessionSub","[FamilyID]="
& [Family_ID])))
The error only shows if there is no payment data in the
q_PymtTotalsBySessionSub query. If there is data, then the formula returns
"0", which is incorrect.
This formula works properly if there is payment data, but gives an error if
there is none:
=DLookUp([PymtTotal],"q_PymtTotalsBySessionSub","[FamilyID]=" & [Family_ID])
I am trying to return a value of zero if there is no payment data for that
session.
Many thanks for your help!
Sandra
I am getting an error with this formula:
=IIf(NZ(DLookUp([PymtTotal],"q_PymtTotalsBySessionSub","[FamilyID]=" &
[Family_ID])),0,(DLookUp([PymtTotal],"q_PymtTotalsBySessionSub","[FamilyID]="
& [Family_ID])))
The error only shows if there is no payment data in the
q_PymtTotalsBySessionSub query. If there is data, then the formula returns
"0", which is incorrect.
This formula works properly if there is payment data, but gives an error if
there is none:
=DLookUp([PymtTotal],"q_PymtTotalsBySessionSub","[FamilyID]=" & [Family_ID])
I am trying to return a value of zero if there is no payment data for that
session.
Many thanks for your help!
Sandra