O
Old Music Lover
I have a combo box with the following "after update" code. I get a Type
Mismatch message on the
Set MeClone = Me.RecordsetClone statement.
Any clues as to what I have done wrong? It also does not recognize the
NoMatch on the MeClone.
Private Sub NAME_SELECT_Change()
Dim SearchValue As String
Dim MeClone As Recordset
Set MeClone = Me.RecordsetClone
Let SearchValue = Me![NAME_SELECT].Value
MeClone.Find "[EMPLID] = " & SearchValue
If Not MeClone.NoMatch Then
Me.Bookmark = MeClone.Bookmark
End If
MeClone.Close
End Sub
Mismatch message on the
Set MeClone = Me.RecordsetClone statement.
Any clues as to what I have done wrong? It also does not recognize the
NoMatch on the MeClone.
Private Sub NAME_SELECT_Change()
Dim SearchValue As String
Dim MeClone As Recordset
Set MeClone = Me.RecordsetClone
Let SearchValue = Me![NAME_SELECT].Value
MeClone.Find "[EMPLID] = " & SearchValue
If Not MeClone.NoMatch Then
Me.Bookmark = MeClone.Bookmark
End If
MeClone.Close
End Sub