Hello Dave,
Turn it on its head and massage the syntax a little bit......
INSERT INTO A_Sales_Ledger(xxx, yyyy, Customer_ID)
SELECT xxx, yyy, Customer_ID FROM Customers WHERE Cust_Name LIKE '%Unique String%';
HTH, Paul
Hello Dave,
Turn it on its head and massage the syntax a little bit......
INSERT INTO A_Sales_Ledger(xxx, yyyy, Customer_ID)
SELECT xxx, yyy, Customer_ID FROM Customers WHERE Cust_Name LIKE '%Unique String%';
HTH, Paul