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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select Non-Matching records from two tables 1

Status
Not open for further replies.

ajharn

IS-IT--Management
Jun 8, 2002
71
US
Linking selects records from two tables where there are matching values in the linked fields. This works well for me.

What I can wrap my head around is this:

Table 1 and Table 2 (different DBs) both have an indexed field (JobNumber).

I want to select records in Table 1, when NO matching record exists in Table 2.

Any help appreciated. I'm fairly new at this, so please forgive dumb questions. Research of the documentation and this forum have not bridged the gap.

Thanks,
AJ
 
Use a left join FROM table1 TO table2 and then use a record selection formula like:

isnull({table2.jobnumber})

-LB
 
Yup. That did the trick.

Thanks for a quick and spot on response.

Cheers,
AJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top