Gotta love marketing for comming up with this one. I can't for the life of me figure this out!!We need to find the distinct customers that have a 'Web Site' but do not have 'T.Link'. We are trying to get this to happen dynamically in Fox Pro, but if I can find a solution in T-SQL, I should be able to convert it to work in VFP.Thanks for any help guys and gals!CREATE TABLE #Customer(CustomerName VARCHAR(50), CustNum VARCHAR(20))CREATE TABLE #Product(CustNum VARCHAR(20), ProductName VARCHAR(50))INSERT INTO #Customer(CustomerName, CustNum) VALUES('1 One', '111111')INSERT INTO #Customer(CustomerName, CustNum) VALUES('2 Two', '222222')INSERT INTO #Customer(CustomerName, CustNum) VALUES('3 Three', '333333')INSERT INTO #Customer(CustomerName, CustNum) VALUES('4 Four', '444444')INSERT INTO #Customer(CustomerName, CustNum) VALUES('5 Five', '555555')INSERT INTO #Customer(CustomerName, CustNum) VALUES('6 Six', '666666')INSERT INTO #Product(CustNum, ProductName) VALUES ('111111', 'Web Site')INSERT INTO #Product(CustNum, ProductName) VALUES ('222222', 'Web Site')INSERT INTO #Product(CustNum, ProductName) VALUES ('222222', 'T.Link')INSERT INTO #Product(CustNum, ProductName) VALUES ('333333', 'T.Link')INSERT INTO #Product(CustNum, ProductName) VALUES ('444444', 'Web Site')INSERT INTO #Product(CustNum, ProductName) VALUES ('555555', 'Web Site')INSERT INTO #Product(CustNum, ProductName) VALUES ('555555', 'T.Link')INSERT INTO #Product(CustNum, ProductName) VALUES ('555555', 'HouseCalls')--Find Distinct Customers that have 'Web Site' but do not have 'T.Link'--Should be only Two and FiveDROP TABLE #ProductDROP TABLE #CustomerMichael<Yoda>Use the Search page you must. Find the answer you will.</Yoda>