Autonumber column/field in MS-Access database table will be automatically incremented when adding any new row of data.
Assume that you are having some set of rows in a table, and you are deleting those rows and willing to add new rows. In this scenario, the autonumber column of the new rows will not be restarted. They will continue from previous set of rows.
If you want to reset or restart the autonumber column you can follow any one of below approach.
After deleting the old rows, we can click Tools->Database Utilities->Compact and Repair.. for reseting the autonumber column.
Or alternatively, after deleting the old rows in a table we can copy and paste the table as a new table with "structure only" option.
More Articles...
Wednesday, November 4, 2009
Search This Blog
Art of Talking to AI | Tech eBook | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | 3 ebooks for $5.99 / Rs 99 | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
Today's Deals | Timesheet | Products | 3 ebooks for $5.99 / Rs 99 | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
4 comments:
Nice post. I also created a video regarding this at
http://www.youtube.com/watch?v=hiWqqlT0G2E
I frequently work with access files,but yesterday I was astonished. Because my files were lost irrelatively unexpectedly. To my good fortune I entered a friend's house and saw there an interesting tool on his PC. I used the Google and found it on a soft blog - Repair MDB file. I wondered when it resolved all my problem for a minute and absolutely free it I didn't make a mistake. I recommended it for my friends and they told me: Thanks. And gave me a bottle of wine))
well... you can simply go to manage-->compacat and repair..
Tnx for this post..it really helps a lot...
Post a Comment