Hi
I have two tables that have records with duplicate fields
I created a query to list the duplicates - 3920 in total
Code:
SELECT tblDeceased.Inscription, tblMemorial.Inscription, tblDeceased.Forenames, tblDeceased.Mlink, tblMemorial.Mlink
FROM tblMemorial INNER JOIN (tblDeceased INNER JOIN tblJoin ON tblDeceased.GraveID = tblJoin.fkGraveID) ON tblMemorial.MemorialID = tblJoin.fkMemorialId
WHERE (((tblDeceased.Inscription)=[tblMemorial]![Inscription]));
I then changed it to an update query
Code:
UPDATE tblMemorial INNER JOIN (tblDeceased INNER JOIN tblJoin ON tblDeceased.GraveID = tblJoin.fkGraveID) ON tblMemorial.MemorialID = tblJoin.fkMemorialId SET tblDeceased.Inscription = ""
WHERE (((tblDeceased.Inscription)=[tblMemorial]![Inscription]));
But the update does not work due to violation rules
I'm assuming it's because I'm updating a reference field?
So how do I do this
thanks
Ian