compacting autonumber field

G

Guest

In my Autonumber fileds there some gaps between numbers - probably because
of deleted records - how do I compact the table? The database
utility-compact does not do this
 
C

Cheryl Fischer

Once used, an AutoNumber value is not used again, and the Compact/Repair
utility was not designed nor intended to restore them.

If you must reset your AutoNumber values, do a search at
http://groups.google.com using reset autonumber field as a search
criterion. You will get at least 2000 'hits' on the subject.
 
D

Duane Hookom

Cheryl is correct. I would add that you should consider not ever showing the
autonumber to users so it doesn't make any difference what an autonumber
value contains. I never use the autonumber for any reason other than to
create a unique identifier for a record.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top