Some years ago we used to issue about 200 returnable numbered keys to people every year.
My DB has a key register table which is already populated with the available key numbers.
at an appropriate point an update query is run against a table of people and their names are added into the key register against the appropriate key number.
some years ago we found that the admin for key returns was too long winded and gave it up, so now the entry just lasts a year.
i could do away with the key register and simply use a query against the people table to see who has what, but for the fact that it gives the number of unused keys. Which is useful.
the update query works but it’s all too easy to put a the same key number in two records and overwrite one of them. To be fair it’s only happened once in ten years!
It might be better practice to have the key register update from each persons record when their key number is entered using an append query to the key register when their record saves but then i’m Still missing out on unissued key numbers.
there is no particular gate security issue involved
does anyone have any thoughts or experience of similar situations?