S
skk
Hi!
I'm getting an error msg below.
Record is deleted. (Error 3167)
You referred to a record that you deleted or that another user in a
multiuser environment deleted. Move to another record, and then try the
operation again.
Here is the code. This is a subform check box field where user can check or
uncheck to invite. What I'm trying to do is whenever user uncheck the Invite
field I want to delete the record and that's when I get this msg "Record is
deleted" the Error 3167. Thanks for your help!
Private Sub Invite_Click()
Dim s As String
If (Me.Invite = 0) Then
s = "Delete tblInviteesList.* FROM tblInviteesList " & _
"Where InviteesID = " & Me.InviteesID & " "
CurrentDb.Execute s
CurrentDb.TableDefs.Refresh
'Me.Requery
End If
End Sub
I'm getting an error msg below.
Record is deleted. (Error 3167)
You referred to a record that you deleted or that another user in a
multiuser environment deleted. Move to another record, and then try the
operation again.
Here is the code. This is a subform check box field where user can check or
uncheck to invite. What I'm trying to do is whenever user uncheck the Invite
field I want to delete the record and that's when I get this msg "Record is
deleted" the Error 3167. Thanks for your help!
Private Sub Invite_Click()
Dim s As String
If (Me.Invite = 0) Then
s = "Delete tblInviteesList.* FROM tblInviteesList " & _
"Where InviteesID = " & Me.InviteesID & " "
CurrentDb.Execute s
CurrentDb.TableDefs.Refresh
'Me.Requery
End If
End Sub