Hello,
I have a field in a report (Combined Dues Ending) that reads:
=IIf(DSum("[Amt of Dues]","City","[Amt Paid]"=0") Is Null,0,
DSum("[Amt of Dues]","City","[Amt Paid]=0"))
where Amt of Dues and Amt Paid are in the City Table.
I need to add another condition the to the Amt Paid = 0. One that should read ANd where Date (located in City Table) is <= the Select_Date located on the same Report.
I get syntax errors on the below code.
=IIf(DSum("[Amt of Dues]","City","[Amt Paid]"=0"AND "[City]![Date Pd]<=" & "[Reports]![Combined Dues Ending]![Select_Date]") Is Null,0,
DSum("[Amt of Dues]","City","[Amt Paid]=0" AND "[City]![Date Pd]<=" & "[Reports]![Combined Dues Ending]![Select_Date]" ))
I have a field in a report (Combined Dues Ending) that reads:
=IIf(DSum("[Amt of Dues]","City","[Amt Paid]"=0") Is Null,0,
DSum("[Amt of Dues]","City","[Amt Paid]=0"))
where Amt of Dues and Amt Paid are in the City Table.
I need to add another condition the to the Amt Paid = 0. One that should read ANd where Date (located in City Table) is <= the Select_Date located on the same Report.
I get syntax errors on the below code.
=IIf(DSum("[Amt of Dues]","City","[Amt Paid]"=0"AND "[City]![Date Pd]<=" & "[Reports]![Combined Dues Ending]![Select_Date]") Is Null,0,
DSum("[Amt of Dues]","City","[Amt Paid]=0" AND "[City]![Date Pd]<=" & "[Reports]![Combined Dues Ending]![Select_Date]" ))