Access database AutoNumber initialization is actually easy.

Source: Internet
Author: User
Tags access database

yesterday accidentally found an Access database automatic numbering initialization of a method, the Internet is said to use Excel to rearrange the import or compression and repair database, I think this is misleading everyone. Here I share a new method that I have proven in practice. When you open the Access database, open the table, menu-View-Design view, move the cursor to the field of ID (AutoNumber), and then right-click to select the Delete row, and a pop-up window prompts: "Do you want to permanently delete the selected field and all of its data?" Select "Yes". The ID field is generally set as the primary key, and the Delete field ID is also prompted for Microsoft Office Access to remove the primary key. If ... "Select Yes", you add a new field named ID, the data type is set to AutoNumber, and then switch to Datasheet view, prompting "Do you want to save the table now?" Select "Yes" and you will find the automatic numbering initialized!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.