I have a form linked to a table in a FE/BE database with multiple users. The problem I'm having is that multiple users will be accessing the same record at the same time, and the write conflict error shows up.
I have changed the form to update the controls from commands entered in an unbound field by the user, locking all of the controls. An after update event refreshes the form, updates the correct field, and saves the record. This is working well, and multiple users can update the same record at the same time. There will be times when two users try and update the same field of the same record at the exact same time, and this is where the write conflict shows itself. If two users update the field at the exact same time, I'd like to catch the error, pause a fraction of a second, refresh the form, and save the record.
Any suggestions on suppressing this error would be very much appreciated.
Thanks in advance,
Mike
I have changed the form to update the controls from commands entered in an unbound field by the user, locking all of the controls. An after update event refreshes the form, updates the correct field, and saves the record. This is working well, and multiple users can update the same record at the same time. There will be times when two users try and update the same field of the same record at the exact same time, and this is where the write conflict shows itself. If two users update the field at the exact same time, I'd like to catch the error, pause a fraction of a second, refresh the form, and save the record.
Any suggestions on suppressing this error would be very much appreciated.
Thanks in advance,
Mike