I have a legacy Access database. The VB code in it needs a special record with the autonumber ID value 1
in a specific table.
The table in question has a primary key as autonumber. That column is also referenced in other tables as foreign key. That is why I cannot delete or modify the primary key of the table.
I tried to reset the counter with
ALTER TABLE myTable ALTER COLUMN tId COUNTER(1,1)
But it says I cannot change the table. And I cannot set the column value manually.
How can I put a specific value in an existing primary key autonumber column?