V
Van T. Dinh
Try the following untested SQL String:
DELETE *
FROM Table1 AS T1
WHERE EXISTS
(
SELECT * FROM Table2 AS T2
WHERE T2.[cust part] = T1.[cust part]
AND T2.[material code] = 'G'
)
HTH
Van T. Dinh
MVP (Access)
DELETE *
FROM Table1 AS T1
WHERE EXISTS
(
SELECT * FROM Table2 AS T2
WHERE T2.[cust part] = T1.[cust part]
AND T2.[material code] = 'G'
)
HTH
Van T. Dinh
MVP (Access)