UPDATE ts
SET ts.pc = tn.pcs
FROM tblStock AS ts
INNER JOIN
[qry StkInDetails Grouped] AS tn
ON (ts.pkg = tn.pkgs)
AND (ts.PartNo = tn.PartNo)
AND (ts.Brand = tn.Brand)
AND (ts.Category = tn.Category)
AND (ts.Location = tn.Location)
WHERE (((ts.pkg)=0))
|