I have following query to update tbl materail
UPDATE Material RIGHT JOIN Engcost ON Material.[PART NO]=Engcost.[PART NO] SET Engcost.[PART NO] = Material.[PART NO], Engcost.[MATERIAL DESCRIPTION] = Material.[MATERIAL DESCRIPTION], Engcost.[COST EACH] = Material.[COST EACH], Engcost.CD = Material.CD, Engcost.STORELOC = Material.STORELOC
WHERE (((Engcost.[PART NO]) Like "TD*" Or (Engcost.[PART NO])="CM00049"));
Material tbl is updating only matching recordsof Engcost. I want to update material all the TD parts even with match or without match.
Thanks in advance
UPDATE Material RIGHT JOIN Engcost ON Material.[PART NO]=Engcost.[PART NO] SET Engcost.[PART NO] = Material.[PART NO], Engcost.[MATERIAL DESCRIPTION] = Material.[MATERIAL DESCRIPTION], Engcost.[COST EACH] = Material.[COST EACH], Engcost.CD = Material.CD, Engcost.STORELOC = Material.STORELOC
WHERE (((Engcost.[PART NO]) Like "TD*" Or (Engcost.[PART NO])="CM00049"));
Material tbl is updating only matching recordsof Engcost. I want to update material all the TD parts even with match or without match.
Thanks in advance