Hi Everyone,
I am having trouble trying to create a multiple criteria IIF statement in my query below. I am getting a complex criteria error when i try to run the query due to the criteria that i have highlighted in red below. Can anyone steer me in the right direction on how to correct this?
Many thanks!!
IIf([Forms]![frmTrialRepReportSelector]![Tag1]=True,(((([tblCustomer].[CustomerType]) Not Like "*Closed" & ([tblCustomer].[CustomerType])) Not Like "*Inactive" & ([tblCustomer].[CustomerType])) Not Like "Cash*"),"Cash Sale")
I am having trouble trying to create a multiple criteria IIF statement in my query below. I am getting a complex criteria error when i try to run the query due to the criteria that i have highlighted in red below. Can anyone steer me in the right direction on how to correct this?
Many thanks!!
IIf([Forms]![frmTrialRepReportSelector]![Tag1]=True,(((([tblCustomer].[CustomerType]) Not Like "*Closed" & ([tblCustomer].[CustomerType])) Not Like "*Inactive" & ([tblCustomer].[CustomerType])) Not Like "Cash*"),"Cash Sale")