W
Wendy
Hi
I have one table (customers) with Customer No, Name, Address fields. I want
to link it another table (products) which has Customer No, Product No, Date.
I need to link them so that all products will appear for the same customer
in one record for mailing, at the moment I get one record per product which
I can't use for my mailmerge.
Thanks
Wendy
SELECT Customers.CustNo AS [Customer No], Customers.custname AS Customer,
Customers.Add1 AS [Address Line 1], Products.ProdNo AS [Product No],
Products.Descript AS Product
FROM Customers INNER JOIN Products ON (Customers.LocNo = Products.LocNo) AND
(Customers.CustNo = Products.CustNo)
WITH OWNERACCESS OPTION;
I have one table (customers) with Customer No, Name, Address fields. I want
to link it another table (products) which has Customer No, Product No, Date.
I need to link them so that all products will appear for the same customer
in one record for mailing, at the moment I get one record per product which
I can't use for my mailmerge.
Thanks
Wendy
SELECT Customers.CustNo AS [Customer No], Customers.custname AS Customer,
Customers.Add1 AS [Address Line 1], Products.ProdNo AS [Product No],
Products.Descript AS Product
FROM Customers INNER JOIN Products ON (Customers.LocNo = Products.LocNo) AND
(Customers.CustNo = Products.CustNo)
WITH OWNERACCESS OPTION;