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

Please help me with a query

Status
Not open for further replies.

newboy18

MIS
Apr 11, 2003
45
GB
I have a Table of Names and a Table of Addresses.
I want to join the 2 together in another Table using a
Form with 2 CombBoxes but I only want to see the Names
that have not been use yet in my Name Combobox, I dont
want to see all the Names.
How can I create a query of all Names in Table 1 that are
NOT in Table 2?
 
try...

select myname from table1 where table1.name not in(select myname from table2)

Mike Pastore

Hats off to (Roy) Harper
 
Thanks Mike but I found there is an Unmatched Query Wizard that does the job
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top