R
richard.williamson1
I have a form with subform which works fine. I then modified the form
by adding an unbound combo box. The following code was added to make
the form display what was selected in the combo box:
Private Sub Combo27_Change()
'find matching records
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.findfirst "Resource_ID like '*" & Me![Combo27] & "*'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
However, when I make a selection in the combo box, I get the "Invalid
procedure call or argument" error. the debugger goes to the Private sub
line. I've tried recreating the form, but I gat the same error.
TIA
by adding an unbound combo box. The following code was added to make
the form display what was selected in the combo box:
Private Sub Combo27_Change()
'find matching records
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.findfirst "Resource_ID like '*" & Me![Combo27] & "*'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
However, when I make a selection in the combo box, I get the "Invalid
procedure call or argument" error. the debugger goes to the Private sub
line. I've tried recreating the form, but I gat the same error.
TIA