Chrissirhc
Programmer
I have a query that works in DBArtisan(DB connection and management software) but not in my VBA code.
In my VBA code I get the error:
Invalid column name "E".
My sql is a bit like this
select * from table where myLookup in ('A','B','C','D', 'E')
If I change it to select * from table where myLookup in ('A','E') it works fine...
I am using ADODB.
Any ideas?
Thanks,
Chris
In my VBA code I get the error:
Invalid column name "E".
My sql is a bit like this
select * from table where myLookup in ('A','B','C','D', 'E')
If I change it to select * from table where myLookup in ('A','E') it works fine...
I am using ADODB.
Any ideas?
Thanks,
Chris