Access has a field type called AutoNumber which automatically increments
count by 1.
However AutoNumber will not always give the next number - for example you
start adding a new record and deicde to cancel - the AutoNumber used in that
record will be lost. For example you have 2 records are adding record 3 -
the AutoNumber will be 3 - however if you do not save the record and cancel
out the Autonumber 3 will be lost and you will get 4 next.
If you need a better approach then you should think of VBA code to assign a
unqiue number when you save the record.
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.