I have a single table that has duplicate records. For example, two records (call them "record1" & "record2") would have 5 fields, which are identical in both records. Record1 might have 4 other fields which have data, and Record2 might have the same 4 fields without data.
What I would like to do is compare the records. The compare would check to see if the 5 fields are identical. If the five fields are identical between the two records, replace the 4 empty fields in record2 with the 4 populated fields from record1. Next, I would want to delete record1 (maybe copy record to an archive table) and retain record2 (the "good" record).
Has anyone come across this, have an example or has tried doing this? Or, is there a better way to go about doing this, short of manually copying & pasting the data from record1 to record2?
Thank you in advance for any assistance offered.
Paul
What I would like to do is compare the records. The compare would check to see if the 5 fields are identical. If the five fields are identical between the two records, replace the 4 empty fields in record2 with the 4 populated fields from record1. Next, I would want to delete record1 (maybe copy record to an archive table) and retain record2 (the "good" record).
Has anyone come across this, have an example or has tried doing this? Or, is there a better way to go about doing this, short of manually copying & pasting the data from record1 to record2?
Thank you in advance for any assistance offered.
Paul