Toot
May 22nd, 2000, 06:07 PM
Hullo gurus!
Background:
I'm currently using an AutoNumber field in my Access97 DB to assign an ID to each record...most of the time it works fine but every now and again it goes haywire and jumps all over the place before settling back down again. It's *VERY* important that the number is sequential - i.e. user1 presses "Add" and 1 is assigned, user2 adds and gets 2 assigned, user 1 adds and gets 3 assigned, etc. (that's how I had assumed it would work).
Question:
So, I've got to write my own autonumbering system... Does anyone have any clues how to do it? I thought of adding a ClientIDs table with one field and one record... but that seems a rather backward way of doing it - there must be a cleaner way.
Any help *hugely* appreciated.
All the best,
Toot
Background:
I'm currently using an AutoNumber field in my Access97 DB to assign an ID to each record...most of the time it works fine but every now and again it goes haywire and jumps all over the place before settling back down again. It's *VERY* important that the number is sequential - i.e. user1 presses "Add" and 1 is assigned, user2 adds and gets 2 assigned, user 1 adds and gets 3 assigned, etc. (that's how I had assumed it would work).
Question:
So, I've got to write my own autonumbering system... Does anyone have any clues how to do it? I thought of adding a ClientIDs table with one field and one record... but that seems a rather backward way of doing it - there must be a cleaner way.
Any help *hugely* appreciated.
All the best,
Toot