Because that would result in A00001 showing up as both Active and Inactive. This a pass-through query running on SQL, but works fine in Access.
---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :
Adam-
Why are you using NOT IN? First off, Access optimizes that very badly. But it should have worked.
This should do it:
John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
(Paris, France)
On Apr 26, 2016, at 6:14 PM, runuphillracing@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
AcctID | Device | Status |
A00001 | ABC1 | Active |
A00001 | ABC2 | Inactive |
A00002 | ABC3 | Active |
A00003 | ABC4 | Inactive |
A00003 | ABC5 | Inactive |
AcctID | Status |
A00001 | Active |
A00002 | Active |
A00003 | Inactive |
__._,_.___
Posted by: runuphillracing@yahoo.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (4) |
Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade today!
.
__,_._,___
Tidak ada komentar:
Posting Komentar