Background: I have three fields with numerical values. Anything from 2-100. They are called Stop1, Stop2, Stop3. They are exclusionary in that if they have certain values, certain things can't happne. So. If Stop1 has a value of 2 then that record is excluded. Same with Stop2, and Stop3. The SQL is written:
Stop1 not in (2,3,5,7,8,9) and Stop2 not in (2,3,5,7,8,9), etc. You'll notice that the criteria is exactly the same. This happens a bajillion times throughout the macro with only sutble differences in the other queries (stops all stay the same).
I build a table with the following fields:
Process (Text)
Stop1(Number)
Stop2(Number)
Stop3(Number)
and then instead of putting "Not In (yadda)" in the criteria boxes In QBE, I joined the three stop fields from my primary table to the Stop fields in my criteria table. I should have about 35000 records, I'm getting none. Did I loose you?
I live to work and I work to live.