A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Compare Sets of Data



 
 
Thread Tools Display Modes
  #1  
Old February 12th, 2007, 01:26 AM posted to microsoft.public.access.queries
David127
external usenet poster
 
Posts: 11
Default Compare Sets of Data

I have a list of products that have multiple features. Some optional some
manditory. I'd like to compare my table of products and features with a
reference table of products & the manditory features and show the list of
products that are missing the manditory features.

tblProducts tblProductsRef
Prod_ID Prod_ID
Features_ID Features_ID

Many Thanks!!!

  #2  
Old February 12th, 2007, 04:48 AM posted to microsoft.public.access.queries
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Compare Sets of Data

On Sun, 11 Feb 2007 17:26:00 -0800, David127
wrote:

I have a list of products that have multiple features. Some optional some
manditory. I'd like to compare my table of products and features with a
reference table of products & the manditory features and show the list of
products that are missing the manditory features.

tblProducts tblProductsRef
Prod_ID Prod_ID
Features_ID Features_ID

Many Thanks!!!


Use an Unmatched Query Wizard query; or

SELECT tblProjects
RIGHT JOIN tblProductsRef
ON tblProducts.Prod_ID = tblProductsRef.Prod_ID
AND tblProducts.Features_ID = tblProductsRef.Features_ID
WHERE tblProducts.Prod_ID IS NULL;

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.