
Originally Posted by
June7
So the original ProjectNo values are just sequential numbers, no alpha characters and you want the autonumber to take over generating new ProjectNo? These ProjectNo values are unique in this table - there are no repeats?
It is possible to set the value of autonumber field with an INSERT sql action but not with an UPDATE sql action. Create a new table with the required fields then run an INSERT SELECT query to populate this new table. When the data is good, delete old table and rename new table with old name.
INSERT INTO [Copy of Table1](ID, EventNo, EID, ArrivedTime, Code, CancelledTime) SELECT ProjectNo, EventNo, EID, ArrivedTime, Code, CancelledTime FROM Table1;
Then run Compact & Repair on db before adding new records.
80+ fields is quite a few in one table. Possibly you need to normalize data structure.
As JoeM stated, autonumber is not supposed to be a value that has meaning to users. Supposedly autonumber can generate negative values and not always increasing, although I have never seen either behavior. Cannot rely on autonumber to be gap free.
Note that field names in the example do not have spaces or special characters/punctuation (underscore would be acceptable exception).