In a VB6 program accessing an MDB file, the following SQL query is being executed:
> Select * FROM [table1] WHERE ([type] = 1 OR [type] = 2 OR [type] = 6)
DAO 3.51 is way outdated. It was replaced by DAO 3.6 many years ago. Use 3.6 instead and then see whether this version of your query returns the same results from both DAO 3.6 and ACEDAO:
SELECT *
FROM [table1]
WHERE
[type] IN (1,2,6)
AND ([notes] Is Null OR [notes] = '0')
AND [date] >= cvdate('09/03/2013')
ORDER BY [date], [column2];