|
|
Question : How to reset the autonumeric field values to start over again ?
|
|
HI
I have created an Access database that it uses autonumeric fields, is there any way that after using the database could "reset" those fields in order to start from 1 over again?
Thanks
|
Answer : How to reset the autonumeric field values to start over again ?
|
|
An Autonumber should never be used to ensure uniqueness of data. The Autonumber has absolutely no data value. At best, an Autonumber field should be used as a surrogate key, with at least one other index defined as Unique to guarantee that a particular "row" of data is unique. Otherwise, I could have 2 or more identical records, each "uniquely" defined merely by having a different Autonumber value.
Poser: You can also Compact and Repair the database AFTER deleting your data. This will "reset" the counters.
|
|
|
|
|