AutoNumber
AutoNumber is a type of data used in Microsoft Access tables to generate an automatically incremented numeric counter.[src] It may be used to create an identity column which uniquely identifies each record of a table.[src] Only one AutoNumber is allowed in each table.[src] The data type was called Counter in Access 2.0.[src]
AutoNumber is a type of data used in Microsoft Access tables to generate an automatically incremented numeric counter.[src] It may be used to create an identity column which uniquely identifies each record of a table.[src] Only one AutoNumber is allowed in each table.[src] The data type was called Counter in Access 2.0.[src] ==Manipulation of counters using DDL== The following Data Definition Language (DDL) query creates an AutoNumber field with a start value and an increment: CREATE TABLE Table1 ( Field1 COUNTER ([beginning_number], [increment_number]), [...] ); This query resets the counter: ALTER TABLE Table1 ALTER COLUMN Field1 COUNTER(beginning_number, increment_number); An alternative method of resetting the counter is to drop column re-add it (this has the side effect of renumbering existing rows in the table): ALTER TABLE Table1 DROP COLUMN Field1; ALTER TABLE Table1 ADD Field1 COUNTER; ==References== ==External links== Set Autonumber field using VBA[src]
9 sentences · 9 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"AutoNumber." encyclopegia.org, 2024, https://encyclopegia.org/wiki/autonumber. Accessed 03 December 2026.
Chicago
"AutoNumber." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/autonumber.
APA
encyclopegia.org. (2024). AutoNumber. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/autonumber
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON