Backend table has 100K plus records. Five instances of the FE will be editing 50K of the records, 10K for each instance, one record at a time. The problem is that record locking is preventing editing of some of the records. Some how I want to be able to update any record with out running into any locked records. Is that possible without creating different tables for each FE instance? I only need to make one pass thru the recordset. I've always used Set rst = Currentdb.OpenRecordset(qryStatus, dbOpenDynaset). I'd like the process to run without user intervention… once started; it needs to complete one pass through all of the records.
I've experimented with optimistic locking but don’t quite understand if its working or I'm doing something wrong. I don’t want to wait for the record to become unlocked due to "page locking" unless it will be unlocked within a second. If locked records are always going to be present, my last thought is to refresh the query at the end of each pass and restart the cycle automatically, until all of the records are updated.
Previously all 100K records were updated using one recordset and the process lasted several hours. Using five different recordset/instances will cut it to one fifth of the normal time.
Thank you!!
I've experimented with optimistic locking but don’t quite understand if its working or I'm doing something wrong. I don’t want to wait for the record to become unlocked due to "page locking" unless it will be unlocked within a second. If locked records are always going to be present, my last thought is to refresh the query at the end of each pass and restart the cycle automatically, until all of the records are updated.
Previously all 100K records were updated using one recordset and the process lasted several hours. Using five different recordset/instances will cut it to one fifth of the normal time.
Thank you!!