D
Deano
Does anyone know why this happens.
For reference below, ID is an Autonumber and record being a product of some
sort (car parts, food etc)
In a form I am part way through creating a record and the ID value is 1001.
I then decide to cancel the entry. Code being used is 'DoCmd.RunCommand
acCmdUndo' . Later on or what ever time period it maybe, I go back to
create a new record (not necessary the same one as before) but the
autonumber being genreated isn't 1001, but 1002. This will inevitable lead
to a lot of gaps (1000, 1002 no 1001) in the number sequence and raise
questions about missing products from people using the system. Is there
anyway that a record can be cancelled and the next record to be created will
be the next in sequence using the autonumber facility.
Thanks in advance.
For reference below, ID is an Autonumber and record being a product of some
sort (car parts, food etc)
In a form I am part way through creating a record and the ID value is 1001.
I then decide to cancel the entry. Code being used is 'DoCmd.RunCommand
acCmdUndo' . Later on or what ever time period it maybe, I go back to
create a new record (not necessary the same one as before) but the
autonumber being genreated isn't 1001, but 1002. This will inevitable lead
to a lot of gaps (1000, 1002 no 1001) in the number sequence and raise
questions about missing products from people using the system. Is there
anyway that a record can be cancelled and the next record to be created will
be the next in sequence using the autonumber facility.
Thanks in advance.