Karen Patalano
Registered User.
- Local time
- Today, 12:03
- Joined
- Oct 4, 2010
- Messages
- 22
I am trying to use a combo box to find a record but I keep getting the Set rs = Me.Recordset.Clone highlighted in yellow as an error.
Private Sub Combo8_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[residentnumber] = '" & Me![Combo8] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
Can anyone help?
Private Sub Combo8_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[residentnumber] = '" & Me![Combo8] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
