Results 1 to 3 of 3
  1. #1
    radicalrik is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    1

    deleting records

    I am trying to delete duplicate records, but keep the first record. Using the default duplicate records query doesn't work. It also pulls in the first duplicate record. i want to keep the first record, but delete all other duplicate records. Can anyone help?

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Welcome to the forum.

    If the records are true duplicates, then how do you know which is the first? Do you have a date field or an autonumber field where the data is different? If so, you can use that in the criteria of your query to select the correct records to delete.

  3. #3
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    Also, if they are true duplicates, what does it matter which one was first. They're both the same information no?

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

Similar Threads

  1. deleting records off a subform
    By jamin14 in forum Programming
    Replies: 10
    Last Post: 04-22-2010, 08:47 PM
  2. Replies: 3
    Last Post: 03-25-2010, 12:31 PM
  3. Restart auto number after deleting records
    By P5C768 in forum Database Design
    Replies: 1
    Last Post: 09-11-2009, 02:07 PM
  4. Deleting Duplicates
    By TundraMonkey in forum Queries
    Replies: 4
    Last Post: 09-08-2009, 07:13 AM
  5. Problem Deleting Records with ADO
    By bdicasa in forum Programming
    Replies: 0
    Last Post: 08-21-2008, 09:27 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