Fuse duplicate records

darrask

Registered User.
Local time
Today, 15:59
Joined
Feb 1, 2010
Messages
11
Hello,
I'm having some trouble with the following:
I need to update a field to the value of the same field in another linked table in duplicate records.
 
I began by designing a Find duplicates query with the wizard, which returned records with same [ES Detail] and [ES category] in table ES_Detail. I then added [ES ID] from table ES and converted it into an update query.

[ES ID] in the ES table has to be updated to the corresponding [ES ID] in table ES_Detail that has the earliest [Date created] for those duplicate records.
 
I tried several functions, First, DFirst, DLookup, but I'm having difficulties to specify the criteria part of my DLookUp function (indicated by ??? in the screenshot), mostly my tries lead to type conversion failures.
 
To post a screenshot I need 10 posts, that's why I split my text, sorry for that.

In effect, such a query, if working, would fuse my duplicate records (hence the title) after I delete the empty ones (another query is ready for that)
 
This is the query I did:
2wc042d.jpg


I'd be really grateful for help...
 

Users who are viewing this thread

Back
Top Bottom