Code:
Dim db As Database
Set db = CurrentDb()
strSQL = "UPDATE tblEmpresas " _
& " SET ActividadeID = " & zz & ", categoriaID =" & z2 _
& " WHERE metadados = '" & meta & "'"
db.Execute strSQL
Me.Form.Requery
After I run the query a messagebox "This record was edited by another user ......." ( my Access is not in eglish, this is not a literal translation)
with 3 options :
save record
copy to clipboard
Dismiss changes
At what moment this record has been changed ? there is no other attempt to edit these records. Is there a way to bypass this message?