postmanphat
Technical User
Hi,
I have a table that uses Autonumber to generate the ID number (PK) for the table. The data is entered via a form and I have 2 buttons on there: 'Save' and 'Don't Save'. If a user mistakenly enters a record and wants to exit the input form without saving it, they obviously cick on 'Don't Save'.
The problem is that whenever they go to put on the next record, Access misses out the ID of the record it hasn't saved. E.g I have 123 records. I'm inputting record no 124 but realise half way through that I don't need it, so I click on Don't save. The next time I wish to add a record, Autonumber will give it ID 125, but I want it to be number 124 so that there is no gaps.
Is this possible at all?
Ta
Dave
I have a table that uses Autonumber to generate the ID number (PK) for the table. The data is entered via a form and I have 2 buttons on there: 'Save' and 'Don't Save'. If a user mistakenly enters a record and wants to exit the input form without saving it, they obviously cick on 'Don't Save'.
The problem is that whenever they go to put on the next record, Access misses out the ID of the record it hasn't saved. E.g I have 123 records. I'm inputting record no 124 but realise half way through that I don't need it, so I click on Don't save. The next time I wish to add a record, Autonumber will give it ID 125, but I want it to be number 124 so that there is no gaps.
Is this possible at all?
Ta
Dave