Hi,
I'm unable to get this formula to work.
Code:
=Count(IIf(([LoanOperationsTrackingLog]![NewRenewalExtensionModification]="New" And [LoanOperationsTrackingLog]![LoanTypeCodeLDD]="Consumer - Non TCD" And Month([LoanOperationsTrackingLog]![LDDLogProcessingDateTime])=[Forms]![LDDProductionRptDateSelection]![Month] And Year([LoanOperationsTrackingLog]![LDDLogProcessingDateTime])=[Forms]![LDDProductionRptDateSelection]![Year]),0))
When I use just the month field, it works and vice versa for the year field. However, when I try to use both at the same time, i get an error.
Any help is greatly appreciated.
Thank you