G
Guest
I have this query that works great. It shows me which stores are buy a
certain product based on the product number.
My Problem is same reasoning however I want to know which stores are NOT
buying the product. I have tried using Null and I get nothing. Here is a copy
of the SQL of the query that is working Properly.
SELECT tblStores.StoreName, tblSumOfCasesByStore.[Customer Number],
tblSumOfCasesByStore.District, tblSumOfCasesByStore.[Sum Of Cases Shipped]
FROM tblStores INNER JOIN (tblSumOfCasesByStore INNER JOIN
tblStoresUSCustNos ON tblSumOfCasesByStore.[Customer Number] =
tblStoresUSCustNos.USCustNo) ON tblStores.StoreNo = tblStoresUSCustNos.StoreNo
WHERE (((tblSumOfCasesByStore.[USF Product
Number])=[Forms]![frmItemListVendor]![txtUSFSItemNo]))
ORDER BY tblStores.StoreName;
certain product based on the product number.
My Problem is same reasoning however I want to know which stores are NOT
buying the product. I have tried using Null and I get nothing. Here is a copy
of the SQL of the query that is working Properly.
SELECT tblStores.StoreName, tblSumOfCasesByStore.[Customer Number],
tblSumOfCasesByStore.District, tblSumOfCasesByStore.[Sum Of Cases Shipped]
FROM tblStores INNER JOIN (tblSumOfCasesByStore INNER JOIN
tblStoresUSCustNos ON tblSumOfCasesByStore.[Customer Number] =
tblStoresUSCustNos.USCustNo) ON tblStores.StoreNo = tblStoresUSCustNos.StoreNo
WHERE (((tblSumOfCasesByStore.[USF Product
Number])=[Forms]![frmItemListVendor]![txtUSFSItemNo]))
ORDER BY tblStores.StoreName;