Trocergian
Registered User.
- Local time
- Yesterday, 19:38
- Joined
- Apr 6, 2009
- Messages
- 16
I'm trying to get this filter to work with multiple ANDS/ORS and having trouble.
The line is:
The filters on either side of the AND work independently, but combining them with the AND allows any CUSTID to display.
What do I have wrong or is what I'm trying to accomplish not possible this way?
The line is:
Code:
Me.Filter = "([CustID] = 1030 OR [CustID] = 1044 OR [CustID] = 1051 OR [CustID] = 1055 AND [BoLChk] <> 'X' OR [INVChk] <> 'X')"
The filters on either side of the AND work independently, but combining them with the AND allows any CUSTID to display.
What do I have wrong or is what I'm trying to accomplish not possible this way?