I tried several "Like" syntax on one request, (I'm using VB.NET and a MS-ACCESS 2010 database), and none of them could get any other result than throwing an exception.Why? I'm not having any idea about that.
I did this workaround : Instead of
SELECT dbFieldDisplayName FROM dbTableName WHERE dbFieldSearchName Like 'A*'
(I also tried with 'A%' instead of 'A*')
I Used:
SELECT dbFieldDisplayName
FROM dbTableName
WHERE dbFieldSearchName >='A' AND dbFieldSearchName <'AZZZ'
Does anybody know why my Like statement always triggers exception? Any better workaround ?
Thanks in advance.