L
Liz Hansen
Hi,
I have created a table which uses a custom autonumber and a form that I'm
using to add records to the table.
The problem occurs when I cancel (or undo) a record. Even though the record
is not saved, the autonumber is considered used, I guess, and it jumps to
the next autonumber when I add the next new record. I want to use the
cancelled autonumbers record so that I don't have gaps in my series. (I'm
using the autonumber to number drawings).
So, it looks like I have to come up with something else but autonumbering my
drawing number field. Could I maybe use some kind of default value instead
where the field is populated by looking at the table and finding the last
number in the series and then adding one number?
For instance, if the last drawing number was 400100 (now, I'm not sure this
necessarily would be the last record in the table) then the next would be
400101...
Any suggestions?
Thanks!
Liz
I have created a table which uses a custom autonumber and a form that I'm
using to add records to the table.
The problem occurs when I cancel (or undo) a record. Even though the record
is not saved, the autonumber is considered used, I guess, and it jumps to
the next autonumber when I add the next new record. I want to use the
cancelled autonumbers record so that I don't have gaps in my series. (I'm
using the autonumber to number drawings).
So, it looks like I have to come up with something else but autonumbering my
drawing number field. Could I maybe use some kind of default value instead
where the field is populated by looking at the table and finding the last
number in the series and then adding one number?
For instance, if the last drawing number was 400100 (now, I'm not sure this
necessarily would be the last record in the table) then the next would be
400101...
Any suggestions?
Thanks!
Liz