One thing you can do to satisfy your customer, use AutoNumber, and not have gaps is to never delete a record, but rather give it a field that gets set to a value indicating that the record has a deleted status while still keeping it in the records that exist. This way the record itself fills in the gap, preventing Access from trying to âre-useâ the ID number.
Additionally, you could carry two IDs, one generated through Access' Autonumbering, the other manipulated by the program/users/whatever. The Autonumber could be used to relate the records (letting Access do what it does), while carrying the manipulated number as a means of archiving, and so on. (Kind of a spaghetti approach.)
|