Hi.
Those numbers will not change during a compaction. The gaps in the numbers
will remain, but the records themselves will be stored more efficiently after
the compaction. And no, you'll never actually see how the records have been
rearranged unless you use a hex editor to read the individual bytes in the
file. The database may be a faster loading and retrieving data, but that's
the only thing you'll notice as a user.
But you don't actually need these record numbers to be resequenced, do you?
If so, then you shouldn't use an AutoNumber type for this field, but a
user-defined function to create the next number for any new record to be
added to the table.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.