My code is
This brings up a "write conflict" dialog (which I don't understand).
Clicking any of the three options or closing the dialog sees it runs as intended.
Why it is showing "Write Conflict" and can I stop it doing that ? Thanks.
Code:
Private Sub txtAlbumCat_AfterUpdate()
Dim sql As String
If Nz(txtAlbumCat) > "" And Nz(txtLPRelease) > "" Then
sql = "UPDATE CDTracks SET CDTracks.AlbumCat = " & Chr$(34) & txtAlbumCat & Chr$(34) & " WHERE CDTracks.TCat = " & ThisDisk() & " AND CDTracks.LPRelease =" & Chr$(34) & txtLPRelease & Chr$(34) & ";"
CurrentDb.Execute (sql)
End If
End Sub
Clicking any of the three options or closing the dialog sees it runs as intended.
Why it is showing "Write Conflict" and can I stop it doing that ? Thanks.