In case you need to create new autonumbers for some table:
Find a time, nobody uses database (or simply restrict access for other users for period you need);
In table where you want new autonumbers (e.g. table MyTable with field MyKey), add a field e.g. MyOldKey (Long Integer);
Copy the table with new name (e.g. MyOldTable);
Delete all entries in MyTable, and COMPACT THE TABLE after that.
Use Insert query to import all records from MyOldTable into MyTable - the cuery must not have field MyKey (it is generated automatically), and must have field MyOldKey filled with values from field MyKey in MyOldTable
In any tables which have a foreign key linked to autonumeric field in MyTable, add a field MyOldKey (Long Integer);
Update every linked table, setting MyOldKey = MyKey, and MyKey = Null (In case the field is unique index somehow, or with Null's restricted, remove the index or restriction until the end of processing);
Update every linked table, setting field MyKey = MyTable.MyKey where MyOldKey = MyTable.MyOldKey;
From every linked table, delete records where MyOldKey remains empty (Those are 'orphan' records);
Delete table MyOldTable, and field MyOldKey from every table processed.