foxtrot123
Registered User.
- Local time
- Today, 14:24
- Joined
- Feb 18, 2010
- Messages
- 57
I have an append query that appends records from Table X to Table Y where Color is Null or <> "Red":
This works fine. But when I try to add a third condition, like <> "Orange", it seems to ignore the <>Red and <>Orange criteria, and appends all records regardless of color.
I've tried it two ways and both have the same result:
and
Any suggestions?
Code:
WHERE (((tblColors.Color)<>"Red" Or (tblColors.Color) Is Null));
I've tried it two ways and both have the same result:
Code:
WHERE (((tblColors.Color)<>"Red" Or (tblColors.Color)<>"Orange" Or (tblColors.Color) Is Null));
Code:
WHERE (((tblColors.Color)<>"Red" Or (tblColors.Color) Is Null)) OR (tblColors.Color)<>"Orange" Or (tblColors.Color) Is Null));
Any suggestions?