When I make this criteria in query I get massege (Data type mismatch error 3464) . Why?

IIf([SWITCH]In("DIN1","RIN1"),"*",In ("TERMINATE"," INTERNAL"))