Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table1.RecNum not equal to Table2.Recnum 1

Status
Not open for further replies.

Rich24

MIS
Oct 5, 2002
52
US
Hi all,

I think this is easy, but I'm real rusty on my Access. I'm trying to create a Query to display records that do not match RecNum from Table1 to RecNum in Table2. Thanks!
 
This gives you the "RecNum" values in Table1 that do not exist in Table2.
Code:
Select T1.RecNum

From Table1 T1 LEFT JOIN Table2 T2
     ON T1.RecNum = T2.RecNum

Where T2.RecNum IS NULL

[small]No! No! You're not thinking ... you're only being logical.
- Neils Bohr[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top