Results 1 to 2 of 2
  1. #1
    OldCityCat is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    33

    Update first record of duplicates

    I'm looking for a simple way to:

    1. Find duplicate records in a table based on a single field(could be up to 6 dups)
    2. Update First record with data for two fields from each duplicate
    3. Delete duplicate records

    Thanks in advance for any and all suggestions
    OldCityCat


  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Since you only want to update certain records within your original query I would approach this using a DAO or ADO recordset and run a loop.

    I am a little confused about number 2? Where is the data you collect originating from?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Duplicates of same record
    By Ruegen in forum Queries
    Replies: 1
    Last Post: 08-21-2013, 09:39 PM
  2. Replies: 2
    Last Post: 01-04-2013, 09:04 PM
  3. Replies: 1
    Last Post: 05-02-2012, 01:33 PM
  4. Replies: 1
    Last Post: 03-06-2012, 07:20 PM
  5. Replies: 11
    Last Post: 01-21-2010, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums