G
Guest
I have 2 identical tables both with autonumber key, no other indexes.
I copy one table to the other via INSERT.. SELECT (not including ID column)
and I ger duplicate key. I noticed the autonumbers on the target table start
high (in datasheet view) then go low and then higher again. I believe the
autonumber being generated (only reason I can think of) already exists in the
table. How could this happen and how do I fix it? At some point I did do a
copy into this table from another database. I did compact and repair and it
did not help.
I copy one table to the other via INSERT.. SELECT (not including ID column)
and I ger duplicate key. I noticed the autonumbers on the target table start
high (in datasheet view) then go low and then higher again. I believe the
autonumber being generated (only reason I can think of) already exists in the
table. How could this happen and how do I fix it? At some point I did do a
copy into this table from another database. I did compact and repair and it
did not help.