Query to look for unused data

  • Thread starter Russ via AccessMonster.com
  • Start date
R

Russ via AccessMonster.com

I have a product table "tblProducts" with field named "productcatID" that is
linked to the "tblCategories" via the category id, how can I make a query to
search the products table looking for any unused categories listed in the
"tblCategories"so I can delete any unused categories in the "tblCategories" .


i.e. if the category "Widget" have never been used in the "tblProducts" then
I can delete it

Hope I have explained this well enough...
 
M

Marshall Barton

Russ said:
I have a product table "tblProducts" with field named "productcatID" that is
linked to the "tblCategories" via the category id, how can I make a query to
search the products table looking for any unused categories listed in the
"tblCategories"so I can delete any unused categories in the "tblCategories" .


i.e. if the category "Widget" have never been used in the "tblProducts" then
I can delete it


Try using the Unmatched quiery wizard.
 

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

Top