alander
Well-known member
I add a new record, and then reject changes as validation has failed, and so the dataset isnt updated, autonumber value is increased by 1
next time when I add new record autonumber value is increased normally but it has skipped one number
autonumber = 1
addnew (autonumber = 2)
reject change
addnew(autonumber = 3)
update
When I update the database the value in database ishould be 2 and not 3 as it have been rejected.
How can I stop this autonumber value from increasing when changes are rejected?
next time when I add new record autonumber value is increased normally but it has skipped one number
autonumber = 1
addnew (autonumber = 2)
reject change
addnew(autonumber = 3)
update
When I update the database the value in database ishould be 2 and not 3 as it have been rejected.
How can I stop this autonumber value from increasing when changes are rejected?