O
Old Music Lover
This is how I used to do a combox in prior releases of MSAccess. I am on
Access 2000 but have done no VBA coding on it. This is the way it continues
to be described in the docmentation but I can't get it to work.
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
Access 2000 but have done no VBA coding on it. This is the way it continues
to be described in the docmentation but I can't get it to work.
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