Is it possible to convert this to delete the duplicate records as they are found? If so how? If not what would you suggest?
SELECT FLD1, FLD2, FLD3, FLD4
FROM DED05
WHERE ((FLD1 In (SELECT FLD1 FROM DED05 As Tmp GROUP BY FLD1,FLD2 HAVING Count(*)>1 And FLD2 = FLD2)))
ORDER BY FLD1, FLD2;
SELECT FLD1, FLD2, FLD3, FLD4
FROM DED05
WHERE ((FLD1 In (SELECT FLD1 FROM DED05 As Tmp GROUP BY FLD1,FLD2 HAVING Count(*)>1 And FLD2 = FLD2)))
ORDER BY FLD1, FLD2;