U
Ursela
Hi,
I want to return all records in a table that do not have
matching records in another query. I have used the
wizard but that only works if you are using one criterion
and I have 3. Here's the SQL I am trying to use. It
returns no results and there should be about 280. Thanks
in advance.
SELECT DISTINCTROW tblFringePR.PR_NUM, tblFringePR.FRG,
tblFringePR.PRN
FROM tblFringePR LEFT JOIN qryFringebyRate ON
(tblFringePR.PRN = qryFringebyRate.PRT) AND
(tblFringePR.PR_NUM = qryFringebyRate.PR_NUM) AND
(tblFringePR.FRG = qryFringebyRate.FRG)
WHERE (((qryFringebyRate.PR_NUM) Is Null) AND
((qryFringebyRate.FRG) Is Null) AND
((qryFringebyRate.PRT) Is Null));
I want to return all records in a table that do not have
matching records in another query. I have used the
wizard but that only works if you are using one criterion
and I have 3. Here's the SQL I am trying to use. It
returns no results and there should be about 280. Thanks
in advance.
SELECT DISTINCTROW tblFringePR.PR_NUM, tblFringePR.FRG,
tblFringePR.PRN
FROM tblFringePR LEFT JOIN qryFringebyRate ON
(tblFringePR.PRN = qryFringebyRate.PRT) AND
(tblFringePR.PR_NUM = qryFringebyRate.PR_NUM) AND
(tblFringePR.FRG = qryFringebyRate.FRG)
WHERE (((qryFringebyRate.PR_NUM) Is Null) AND
((qryFringebyRate.FRG) Is Null) AND
((qryFringebyRate.PRT) Is Null));