Same qry structure, different results
From: JR (anonymous_at_discussions.microsoft.com)
Date: 08/11/04
- Next message: André Hartmann: "Re: Need Zero Values From Query"
- Previous message: SufferingSharon: "RE: Match Criteria or display All Records"
- Next in thread: Gary Walter: "Re: Same qry structure, different results"
- Reply: Gary Walter: "Re: Same qry structure, different results"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Aug 2004 04:07:25 -0700
Please, does anyone have any insights as to why the first
of the two queries below functions as desired while the
second does not?
The following query does what I want it to do, which is
provide 0 (zero) fills whenever there is an "SRC" in
tblAllSRCs.SRC but not in qryTotalbySRC.
SELECT tblAllSRCs.SRC, AllSRCs.Title, AllSRCs.Strength,
qryTotalSRC.[SumOfSumOfST LBS]
FROM tblAllSRCs LEFT JOIN qryTotalbySRC ON
tblAllSRCs.SRC = qryTotalSRC.SRC;
The following query does NOT do what I want it to do.
It omits the SRC from tblAllSRCs.SRC when there is no
corresponding SRC in qryIXSRCList.
SELECT tblAllSRCs.SRC, AllSRCs.Title, AllSRCs.Strength,
[qryIXSRCList].COorST
FROM tblAllSRCs LEFT JOIN [qryIXSRCList] ON tblAllSRCs.SRC
= [qryIXSRCList].SRC;
Thanks.
- Next message: André Hartmann: "Re: Need Zero Values From Query"
- Previous message: SufferingSharon: "RE: Match Criteria or display All Records"
- Next in thread: Gary Walter: "Re: Same qry structure, different results"
- Reply: Gary Walter: "Re: Same qry structure, different results"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|