What type of Join do I need?

  • Thread starter Thread starter Commish
  • Start date Start date
C

Commish

Here's what I am trying to do:

I have a set of records that were imported into an application. And I
have the output from that set of loaded data. However, not all the
records loaded and I'd like to do some type of operation or join to
tell me which records in table A and not present in table B.

That is - if table A had ten values from A-J, and table B had ten
values from F-O, I'd want a join to be able to tell me that values A-E
and not in table B, but are in table A.

Is this possible?
 
Here's what I am trying to do:

I have a set of records that were imported into an application. And I
have the output from that set of loaded data. However, not all the
records loaded and I'd like to do some type of operation or join to
tell me which records in table A and not present in table B.

That is - if table A had ten values from A-J, and table B had ten
values from F-O, I'd want a join to be able to tell me that values A-E
and not in table B, but are in table A.

Is this possible?

OK, I just figured out that if I set the query to filter on criteria
column b IS NULL, then I get the set of records that I am looking for
- in a small test. But... is this the technically correct way to do
this in Access?
 
That is one way to do this. There are probably other ways, but this one
is the most efficient.



'====================================================
John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
'====================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top