Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: AutoNumber Field As Primary Key Sets Maximum Table Size


View products that this article applies to.

Summary

In Microsoft Access 2000, the AutoNumber data type has a NewValue property that enables you to select either Random or Increment as the method of creating the next value for the field. If you select Random, values are assigned as Long Integer. Otherwise, values in an AutoNumber field increment from 1 to 2,147,483,647. The next record receives the minimum negative value for a Long Integer, -2,147,483,648. The AutoNumber value for each subsequent record is one greater than the previous value, until it reaches zero. Therefore, the maximum number of records that a table may hold if the primary key data type is set to AutoNumber is 4,294,967,295.

↑ Back to the top


References

For more information about the AutoNumber data type, click Microsoft Access Help on the Help menu, type datatype property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB209599, kbusage, kbinfo

↑ Back to the top

Article Info
Article ID : 209599
Revision : 2
Created on : 6/28/2004
Published on : 6/28/2004
Exists online : False
Views : 297