S
Sarah0824
I have a database that was created in 2003. When we switched to 2007, it
started acting weird with the primary key field in several tables. They are
set to autonumber. When we would add a new record, Access went back and used
a deleted record's number. That was fine becuase it was not creating a
duplicate primary key field. However, for the next new record, it would
number incrementally from the reused number, and then it was creating a
duplicate primary key so we could not enter a new record.
To fix this, I ran an eppend query to bump the autonumber up to a new
starting point. It appeared to be working, but now its up to its old tricks
again. The only thing I have done other than typing a new record in, is
using a different append query to restore a record that was appended to a
different table a while ago.
I hope I have explained this clearly enough. Has anyone else had this
problem with 2007? Is there an easy fix?
Please help!! Thank you.
started acting weird with the primary key field in several tables. They are
set to autonumber. When we would add a new record, Access went back and used
a deleted record's number. That was fine becuase it was not creating a
duplicate primary key field. However, for the next new record, it would
number incrementally from the reused number, and then it was creating a
duplicate primary key so we could not enter a new record.
To fix this, I ran an eppend query to bump the autonumber up to a new
starting point. It appeared to be working, but now its up to its old tricks
again. The only thing I have done other than typing a new record in, is
using a different append query to restore a record that was appended to a
different table a while ago.
I hope I have explained this clearly enough. Has anyone else had this
problem with 2007? Is there an easy fix?
Please help!! Thank you.