I have the following bit of MS Access SQL Code:
When I run it, I get a "Data Type Mismatch" error. Can anyone suggest a way to do this? There are several reasons why the column needs to remain text so changing the column type is not the answer in this case.
Thanks!
Code:
select * from tbltestdata where iif(isnull(Field),0,CLng(Field)) in (1, 2, 3, 4, 5, 6, 7, 777) and ShortName = "OpType"
Thanks!