Krzysztof Pozorek said:
(...)
In VBA code (module, immediate window) You may write something like this:
DoCmd.RunSQL "alter table Table1 alter column ID counter(1113,1)"
You can also use the query:
alter table Table1 alter column ID counter(1113,1)
But what you need to?
K.P. Poland MVP
www.access.vis.pl
Here is the problem exactly:
I have a database with athletes. It's athlete the time he register takes a
unique number. I thought the best way was to have an auto numbering.
By that, I had a unique number for every athlete and I knew how many persons
are registered in the Federation.
So, the number of the record (in the bottom of the page) should be the same
with the registration number of each athlete.
But now the 1113th athlete takes 1115 as registration number because I
cancelled 2 records.
As you can understand, I need to continue my table and the next athlete must
take as reg. no. 1113
Or else I have to write again 1112 athletes with all the data (father's
name, birthday, residence, bla bla bla).
TOO MUCH DATA!!!