Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2004
    Posts
    11

    Unanswered: Removing duplicate records and retain original

    I would appreciate if anyone could suggest a method to remove duplicate records, I am still a bit

    of a nove and still would appreciate a simple as possible method.

    But essentially, the company can have similar:
    product sectors
    provincial locations
    telephone numbers

    I would also be interested in associating a unique numeric code and not the auto nuymber if

    possible?

    If you like I could send you the excel file to give you a better understanding.


    AlmasPelliSasDiMassaroAlessandroC
    AlmasPelliSasDiMassaroAlessandroEC
    AlmasPelliSasDiMassaroAlessandroEC
    AlmasPelliSasDiMassaroAlessandroEC

    ApisSRL
    ApisSrl
    ApisSrl
    ApisSrl
    ApisSrl


    AIPASpaAgenziaItalianaPerPubblicheAmministrazioni
    AIPASpaAgenziaItalianaPerPubblicheAmministrazioni
    AIPASpaAgenziaItalianaPerPubblicheAmministrazioni

    AFiorDiPelle
    AFiorDiPelle
    AFiorDiPelleDiReginatoSonia
    AFiorDiPelleDiReginatoSonia

    3PRappresentanzaCommercioEsteroSRL
    3PRappresentanzaCommercioEsteroSRL
    3PRappresentanzeCommercioEsteroSrl

    ConfartDiTosanaPAECSAS
    ConfartDiTosanaPAECSAS
    ConfartDiTosanaPAECSAS
    ConfartDiTosanaPAECSAS
    ConfartDiTosanaPierachilleECSAS
    ConfartDiTosanaPierachilleECSAS

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    SELECT DISTINCT field INTO TempTable
    FROM yourTable

    Then delete yourTable, and rename TempTable to yourTable.
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Jul 2004
    Location
    South Dakota
    Posts
    267
    Thanks for the tip. That was such a simple solution I feel ashamed that I didn't that I didn't think of it myself.

    Canupus



    Quote Originally Posted by Teddy
    SELECT DISTINCT field INTO TempTable
    FROM yourTable

    Then delete yourTable, and rename TempTable to yourTable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •