G
Guest
I've got a table that has a list of entries with an ID number that is set to
Autonumber. As a nature of this table items are regularly added and deleted
from the table. This results in large gaps in the ID number, where the ID
goes from say 7 to 13 then to 28, etc. Is there a macro or something I can
utilize to every so often reset the ID numbers, so that the return to
sequence... (1,2,3,4,...)?
As it is set up currently, altering the ID number will not cause any
problems with other tables, reports, etc. So that's not really a concern at
this juncture.
Or is there a way to make my own macro to run in a form and/or website
setting, so that I could make the ID field a standard number field, and then
just have the macro look for the lowest unused number, and set that as the ID?
Thanks in advance for any advice offered.
Autonumber. As a nature of this table items are regularly added and deleted
from the table. This results in large gaps in the ID number, where the ID
goes from say 7 to 13 then to 28, etc. Is there a macro or something I can
utilize to every so often reset the ID numbers, so that the return to
sequence... (1,2,3,4,...)?
As it is set up currently, altering the ID number will not cause any
problems with other tables, reports, etc. So that's not really a concern at
this juncture.
Or is there a way to make my own macro to run in a form and/or website
setting, so that I could make the ID field a standard number field, and then
just have the macro look for the lowest unused number, and set that as the ID?
Thanks in advance for any advice offered.