I have a Sql table linked into Access 2000 where we use Access as the
front end to our SQL server. I have a table that has been imported
from a previous version of Access. I have created a form with a combo
box to find records on in my table. The form works perfectly on old
data in the same table. When I use the form to find recently added
records and make a change and move to a new record by selecting new
text in the combo box, I get an error that says Write Conflict. The
record has been changed by another user since you started editing it.
If you save the record you will overwrite the changes the other user
made.
I know for a fact, I am the only user. When I debug my code I see
Private Sub Combo76_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Id] = " & Str(Nz(Me![Combo76], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
Where Me.Bookmark = rs.Bookmark is highlighted.
This code works for older records but not new ones.
I have recreated the Id field which is the primary key for the table
and still no help.
Looking for suggestions.... Thanks in advance.