In Access 2000 format is there any way to make Access automatically enter the
sequential record number in a key field? Using the autonumber function
leaves numbering gaps if a record(s) is deleted.
Ok, hypothetical case here. You implement a Custom Counter (see
http://groups.google.com, use Advanced Search to search the
microsoft.public.access.* groups with this as a search term).
You enter 31225 records over time.
Some busybody points out that record #3 is in error and should never
have been entered. You delete it.
Now do you want to renumber 31222 records, in this table? In every
table to which this table is related? On every copy of every report
you've ever printed out? In every bit of human grey-matter where a
record number is stored? Off of every Post-It note where a record
number was written down?
Record numbers are NOT suitable for keys.
John W. Vinson[MVP]