Hello,
I have the following DSum that works fine until I add a Paid Date criteria. The field Paid Date is formatted "Date/Time" in the table.
AE CTAS By DateT: IIf([GeneralManager]="No RVP" Or [GeneralManager]="",0,DSum("[Service Commission].[NetSale]","Service Commission","[ID] <= " & [Service Commission].[ID] & " and [Service Commission].[Paid Date] = " & [Service Commission].[Paid Date]))
Can anyone tell me what I'm doing wrong?
Thanks
I have the following DSum that works fine until I add a Paid Date criteria. The field Paid Date is formatted "Date/Time" in the table.
AE CTAS By DateT: IIf([GeneralManager]="No RVP" Or [GeneralManager]="",0,DSum("[Service Commission].[NetSale]","Service Commission","[ID] <= " & [Service Commission].[ID] & " and [Service Commission].[Paid Date] = " & [Service Commission].[Paid Date]))
Can anyone tell me what I'm doing wrong?
Thanks