I am trying to run this If statement in a query.
IIf(InStr(1,[CandidateTypeE],"Dele")>=1,"Delegate",
IIf(InStr(1,[CandidateTypeE],"Faci")>=1,"Facilitator",
IIf(InStr(1,[CandidateTypeE],"Observer")>=1,"Observer","Ungrouped")))
AS CandidateTypeX
And I keep getting an Invalid Procedure Call error.
Any suggestions?
IIf(InStr(1,[CandidateTypeE],"Dele")>=1,"Delegate",
IIf(InStr(1,[CandidateTypeE],"Faci")>=1,"Facilitator",
IIf(InStr(1,[CandidateTypeE],"Observer")>=1,"Observer","Ungrouped")))
AS CandidateTypeX
And I keep getting an Invalid Procedure Call error.
Any suggestions?