I am trying to manually create a sequentially numbered key using the code
Dim myRecordSet As New ADODB.Recordset
Dim rs As DAO.Recordset
myRecordSet.ActiveConnection = cnn1
Dim SQL1, SQL2, Statement As String
myRecordSet.LockType = adLockOptimistic
myRecordSet.Open "SurveyTrackerTest"
maxnum = DCount("*", "SurveyTrackerTest")
myRecordSet.MoveFirst
For i = 1 To maxnum
myRecordSet.Fields.Item("ind2").Value = i
myRecordSet.MoveNext
Next i
I get the error message File Sharing Lockout Count Exceeded after about 9400 records? What can I do to work around this?
Dim myRecordSet As New ADODB.Recordset
Dim rs As DAO.Recordset
myRecordSet.ActiveConnection = cnn1
Dim SQL1, SQL2, Statement As String
myRecordSet.LockType = adLockOptimistic
myRecordSet.Open "SurveyTrackerTest"
maxnum = DCount("*", "SurveyTrackerTest")
myRecordSet.MoveFirst
For i = 1 To maxnum
myRecordSet.Fields.Item("ind2").Value = i
myRecordSet.MoveNext
Next i
I get the error message File Sharing Lockout Count Exceeded after about 9400 records? What can I do to work around this?