M
mscertified
I have a procedure that creates records in a bound form and then inserts
records to a related table. In the 'BeforeUpdate' event, I read the related
table to verify the existence of the required record, and if not existing,
display a msgbox.
This is all triggered via a command button.
When I click the button several times in succession slowly all my records
are processed error-free. However, when I click the button several times in
succession quickly (with the exact same data) I get error messages indicating
that the INSERT has not completed before the BeforeUpdate event triggers the
validations. Is this possible? And if so, how to avoid it?
records to a related table. In the 'BeforeUpdate' event, I read the related
table to verify the existence of the required record, and if not existing,
display a msgbox.
This is all triggered via a command button.
When I click the button several times in succession slowly all my records
are processed error-free. However, when I click the button several times in
succession quickly (with the exact same data) I get error messages indicating
that the INSERT has not completed before the BeforeUpdate event triggers the
validations. Is this possible? And if so, how to avoid it?