Hi,
to my understanding the Like operator used inside queries is intended to perform pattern matching on string fields. I'm very surprised to discover that in Access 2007 it works also on numeric fields. For example, I created a table with a numeric field called Data containing the values 2012,2013,2110 and realized that the following queries do work
SELECT myTable.data
FROM myTable
WHERE (((myTable.data) Like "2013"));
SELECT myTable.data
FROM myTable
WHERE (((myTable.data) Like "201*"));
SELECT myTable.data
FROM myTable
WHERE (((myTable.data) Like 2013)); //this one works even without "
Is this the way the Like operator is intended to work ? Does it perform pattern matching on numbers ? I'm confused.