I put a split database (created in 2000 format using Access 2003 SP2) on the network three weeks ago. Three times the entries in two of the columns have been changed for every record, essentially making the data useless. I have not been able to narrow it down to a specific event that is causing it in order to program around it. Any thoughts would be greatly appreciated. Here are the details:
The table involved is called tblTitleLog. It contains 13 columns, the first of which is an autonumbered ID field. Column 7 is called CompletedCSA. Column 9 is called CompletedDate. The data in those cells could be different, from record to record, or could be the same as several records on either side of it. The data in those two cells can be updated either of two ways:
On three separate occasions, the data in those two cells suddenly changed for all 6940+ records. For example:
This:
CompletedCSA CompletedDate
Timmy 2/2/2008
Bobby 2/5/2008
Joey 2/10/2008
Would suddenly change to:
CompletedCSA CompletedDate
Bobby 2/5/2008
Bobby 2/5/2008
Bobby 2/5/2008
No warning messages about multiple people trying to change the same record(s) is displayed. None of the users have been able to spot a trend in something they were doing when it occurred. The code for the Update button on the batch update form only changes the records with the ID of the SelectedItems.
This is the code from the Update click event on the BatchUpdate form:
The controls on this form are all unbound.
Duplicating the same actions the users reported just before it happened didn't seem to make a difference. So far, I haven't been able to duplicate the conditions. Management is not happy and I'm frustrated. Any thoughts or suggestions on how to prevent this from happening again?
Thanks,
DiverGuy
The table involved is called tblTitleLog. It contains 13 columns, the first of which is an autonumbered ID field. Column 7 is called CompletedCSA. Column 9 is called CompletedDate. The data in those cells could be different, from record to record, or could be the same as several records on either side of it. The data in those two cells can be updated either of two ways:
- On a per-record basis using a form that contains controls tied directly to the cells for a given record, or
- On a form that incorporates a multiselect listbox and an Update button. This form is specifically designed to allow batch updating of those two columns.
On three separate occasions, the data in those two cells suddenly changed for all 6940+ records. For example:
This:
CompletedCSA CompletedDate
Timmy 2/2/2008
Bobby 2/5/2008
Joey 2/10/2008
Would suddenly change to:
CompletedCSA CompletedDate
Bobby 2/5/2008
Bobby 2/5/2008
Bobby 2/5/2008
No warning messages about multiple people trying to change the same record(s) is displayed. None of the users have been able to spot a trend in something they were doing when it occurred. The code for the Update button on the batch update form only changes the records with the ID of the SelectedItems.
This is the code from the Update click event on the BatchUpdate form:
Code:
For Each i In Me.listboxTitles.ItemsSelected
strWhere = strWhere & Me.listboxTitles.ItemData(i) & ", "
Next
If Len(strWhere) > 0 Then
strWhere = "WHERE ID IN (" & Left$(strWhere, Len(strWhere) - 2) & ")"
End If
strSQL = "UPDATE tblTitleLog " & _
"SET tblTitleLog.CompletedCSA = '" & Me.cboCompletedCSA.Value & "', tblTitleLog.CompletedDate = '" & Me.txtCompletedDate.Value & "' " & strWhere
CurrentDb.Execute strSQL, dbFailOnError
The controls on this form are all unbound.
Duplicating the same actions the users reported just before it happened didn't seem to make a difference. So far, I haven't been able to duplicate the conditions. Management is not happy and I'm frustrated. Any thoughts or suggestions on how to prevent this from happening again?
Thanks,
DiverGuy