in reply to Re: Re: How do I avoid inserting duplicate numbers into an Access table?
in thread How do I avoid inserting duplicate numbers into an Access table?
Use that Find Duplicates query as the basis to generate and fine tune a Delete query that gets rid of the duplicate rows by eliminating the rows having an autoincrement value higher the lowest one found for each duplicate.
Then delete the autoincrement column from the table and then re-add it again. This should work as long as you haven't used the column or table in a Relationship.
Now you should have consecutively numbered rows with clean nonduplicated data in a table that generates it's unique row autocount ID automatically.
|
|---|