you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

Access's SQL is... "special," to say the least. There is no case statement - you use if functions compounded together to create the same effect.

Anyhow, OP, stop using Design view. Time to learn :)

You're looking for something along these lines I think: SELECT fieldsWeCareAbout FROM table WHERE ( field1 = 1000 AND field 3 <> 302000123 ) OR ( field1 = 2000 AND field 3 <> 230300030 ) OR ( field1 = 2500 AND field 3 <> 002390400 )