Greetings,
I am building an unbound form that will be used to collect data that will be appended to a table whose primary key is not an autonumber yet is incremented by one with each new record.
How can I determine the next valid Primary Key from VBA just prior to running an append query, or from within the append query? Up to 10 users could be performing this action, so the time difference between determining the correct Primary Key and actually appending the record would have to be quite small.
Any help will be gratefully appreciated.
Shamaor
I am building an unbound form that will be used to collect data that will be appended to a table whose primary key is not an autonumber yet is incremented by one with each new record.
How can I determine the next valid Primary Key from VBA just prior to running an append query, or from within the append query? Up to 10 users could be performing this action, so the time difference between determining the correct Primary Key and actually appending the record would have to be quite small.
Any help will be gratefully appreciated.
Shamaor