G
Guest
I'm trying to create a query that lists records in the AllNewParts tbl where
RefPart/RefPart NHL don't have a matching Part#/AS Part# in the
ExcelARefParts table. The following fields need to match:
AllNewParts tbl ExcelARefParts tbl
Model Model
RefPart Part #
RefPart NHL AS Part #
I've tried the following query, but it's listing several null RefPart fields
in the AllNewParts tbl. Thanks for you help.
SELECT AllNewParts.[Model#], AllNewParts.RefPart, ExcelARefParts.[Part#]
FROM AllNewParts LEFT JOIN ExcelARefParts ON (AllNewParts.RefPartNHL =
ExcelARefParts.[AS Part#]) AND (AllNewParts.RefPart = ExcelARefParts.[Part#])
AND (AllNewParts.[Model#] = ExcelARefParts.[Model#])
WHERE (((AllNewParts.RefPart) Is Not Null) AND ((ExcelARefParts.[Part#]) Is
Null));
RefPart/RefPart NHL don't have a matching Part#/AS Part# in the
ExcelARefParts table. The following fields need to match:
AllNewParts tbl ExcelARefParts tbl
Model Model
RefPart Part #
RefPart NHL AS Part #
I've tried the following query, but it's listing several null RefPart fields
in the AllNewParts tbl. Thanks for you help.
SELECT AllNewParts.[Model#], AllNewParts.RefPart, ExcelARefParts.[Part#]
FROM AllNewParts LEFT JOIN ExcelARefParts ON (AllNewParts.RefPartNHL =
ExcelARefParts.[AS Part#]) AND (AllNewParts.RefPart = ExcelARefParts.[Part#])
AND (AllNewParts.[Model#] = ExcelARefParts.[Model#])
WHERE (((AllNewParts.RefPart) Is Not Null) AND ((ExcelARefParts.[Part#]) Is
Null));