work4livinsean
Programmer
Hey everyone,
I am having a problem with a simple SQL Statement. I found something that worked on another thread but when I tried it it did not work. What I am trying to do here is exclude some data from a query by matching up the ApexID's. Here is the SQL Statement:
SELECT queSubmit.Name, queSubmit.ApexID, queSubmit.Number, queSubmit.Okay
FROM tblExclude RIGHT JOIN queSubmit ON tblExclude.Apex_ID = queSubmit.ApexID
WHERE(((queSubmit.[ApexID])<>[tblExclude]![Apex_ID]));
The 'WHERE' statement is what I am having trouble on. Instead of not including the data it simple does not bring up any data. Can anyone help or give me any suggestions? I appreciate your help. Thanks.
Link to the thread where I found a solution that works but not when I try it...
Thanks in advance!
I am having a problem with a simple SQL Statement. I found something that worked on another thread but when I tried it it did not work. What I am trying to do here is exclude some data from a query by matching up the ApexID's. Here is the SQL Statement:
SELECT queSubmit.Name, queSubmit.ApexID, queSubmit.Number, queSubmit.Okay
FROM tblExclude RIGHT JOIN queSubmit ON tblExclude.Apex_ID = queSubmit.ApexID
WHERE(((queSubmit.[ApexID])<>[tblExclude]![Apex_ID]));
The 'WHERE' statement is what I am having trouble on. Instead of not including the data it simple does not bring up any data. Can anyone help or give me any suggestions? I appreciate your help. Thanks.
Link to the thread where I found a solution that works but not when I try it...
Thanks in advance!