E
Erik Gjertsen
I Have use following procedure:
Private Sub slave_AfterUpdate()
Dim rst As Recordset
Dim strSearchName As String
Set rst = Me.RecordsetClone
strSearchName = Str(Me!TkNr)
rst.Find "TkNr = " & strSearchName
If rst.NoMatch Then
MsgBox "Record not found"
Else
Me.Bookmark = rst.Bookmark
End If
rst.Close
End Sub
And get wrong mesages on NoMatch.
with error 461
Can someone help me
Erik Gjertsen
Private Sub slave_AfterUpdate()
Dim rst As Recordset
Dim strSearchName As String
Set rst = Me.RecordsetClone
strSearchName = Str(Me!TkNr)
rst.Find "TkNr = " & strSearchName
If rst.NoMatch Then
MsgBox "Record not found"
Else
Me.Bookmark = rst.Bookmark
End If
rst.Close
End Sub
And get wrong mesages on NoMatch.
with error 461
Can someone help me
Erik Gjertsen