Automatic ACCESS Database ID Initialization is actually very easy

Source: Internet
Author: User
Yesterday, I accidentally discovered a method for automatically initializing ACCESS Database numbers. On the Internet, I used EXCEL to re-import or compress and fix databases. I think this is misleading. I will share with you a new method that I have proved in practice. Open the ACCESS database, open the table, choose View> Design view, and move the cursor to the ID (from

Yesterday, I accidentally discovered a method for automatically initializing ACCESS Database numbers. On the Internet, I used EXCEL to re-import or compress and fix databases. I think this is misleading. I will share with you a new method that I have proved in practice. Open the ACCESS database, open the table, choose View> Design view, and move the cursor to the ID (from

Yesterday, I accidentally discovered a method for automatically initializing ACCESS Database numbers. On the Internet, I used EXCEL to re-import or compress and fix databases. I think this is misleading. I will share with you a new method that I have proved in practice. Open the ACCESS database, open the table, choose View> Design view, move the cursor to the field ID (automatic number), and right-click and choose Delete row, at this time, a pop-up window will prompt: "Do You Want to permanently delete the selected field and all its data?" Select "yes ". Generally, the ID field is set as the primary key, and the message "delete field 'id' requires Microsoft Office Access to delete the primary key. ......" Select "yes". In this case, you add a field named ID, set the data type to automatic number, and switch to the data table view, prompting "do you want to save the table now ?" Select "yes". At this time, you will find that the automatic number is 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.