The following SQL is a simple query but I can't figure out why it is returning more results than it should. The combobox 5 on Form1 has a drop down selection of 1,2,3,4, or 5. If I leave this blank, it will return the entire data set, how if I select 2 as an example, the data set returns data where Field1 is 2 as well as others such as 1,3,4, or 5.
Any thoughts? I am connected to Table1 through an ODBC connection
SELECT Table1.*
FROM Table1
WHERE (((Table1.Field1)=Forms!Form1!CMB5 Or IsNull(Forms!Form1!CMB5)));