You could also copy and paste the table that contains the the autonumber and
only select the copy the structure only option. This will make a second
copy of the table, but not copy the data in it, and in essence reset the
autonumber back to one.
Then if you want to keep your codes intact and have no more use for the old
table but would still like to keep the data, then you can rename the old
table. Afterwards rename the new table to the name that the old table had,
and all should flow correctly as before while still keeping the old data.
Hope this helps.