WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Value missing from either table

 
   Home -> Office other -> Table Design RSS
Next:  Changing Text Field to Autonumber Field  
Author Message
grdngurl

External


Since: Aug 29, 2008
Posts: 1



(Msg. 1) Posted: Fri Aug 29, 2008 11:57 am
Post subject: Value missing from either table
Archived from groups: microsoft>public>access>tablesdbdesign (more info?)

I have a relationship set up to match part numbers from two inventory system
tables. I noticed when a part number is missing from one table it does not
appear in the query results. Is there any way around this omission of data?
I'd like to use the query results to review the value of the data between
systems and also to find cases where a number is missing from one system or
the other.
Back to top
Login to vote
Golfinray

External


Since: Sep 27, 2007
Posts: 445



(Msg. 2) Posted: Fri Aug 29, 2008 1:03 pm
Post subject: RE: Value missing from either table [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Go to the unmatched query wizard under new queries. It will show you the ones
that don't have a match.

"grdngurl" wrote:

> I have a relationship set up to match part numbers from two inventory system
> tables. I noticed when a part number is missing from one table it does not
> appear in the query results. Is there any way around this omission of data?
> I'd like to use the query results to review the value of the data between
> systems and also to find cases where a number is missing from one system or
> the other.
Back to top
Login to vote
KARL DEWEY

External


Since: Mar 03, 2006
Posts: 3052



(Msg. 3) Posted: Tue Sep 02, 2008 9:35 am
Post subject: RE: Value missing from either table [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Normally you use an unmatch query but in your case you may have an unmatch
both ways.
So create a union query named Part_List --
SELECT [Part_Number]
FROM TableA
UNION SELECT [Part_Number]
FROM TableB

Then run the unmatched --
SELECT [Part_List].[Part_Number], IIF([TableA].[Part_Number] Is Null, "X",)
AS MissingTableA, IIF([TableB].[Part_Number] Is Null, "X",) AS MissingTableB
FROM ([Part_List] LEFT JOIN TableA on [Part_List].[Part_Number] =
[TableA].[Part_Number]) LEFT JOIN ([Part_List] LEFT JOIN TableB on
[Part_List].[Part_Number] = [TableB].[Part_Number])
WHERE [TableA].[Part_Number] Is Null OR [TableB].[Part_Number] Is Null;

--
KARL DEWEY
Build a little - Test a little


"grdngurl" wrote:

> I have a relationship set up to match part numbers from two inventory system
> tables. I noticed when a part number is missing from one table it does not
> appear in the query results. Is there any way around this omission of data?
> I'd like to use the query results to review the value of the data between
> systems and also to find cases where a number is missing from one system or
> the other.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Table Design All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET