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!

Omitting Records with BLANKS in a Field 1

Status
Not open for further replies.

RADAZ

Technical User
Jun 20, 2003
9
US
I have two tables. I want a report of all records in one table that have no corresponding records in another table.

Is that done by JOINS?

My "Profile" table contains all of our customers. My "Subset" table contains all records for our customers. If a profile record exists, but no subset record exists, I want a list of those so I can delete the profile records.

Thanks so much! I did not find this in my searches.
 
Use a left join FROM the profile table TO the subset table. Make sure you add no selection criteria on the subset fields. Then write a record selection formula like this:

isnull({subset.customerID})

This will return only those customers in the profile table who do not appear in the subset table.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top