Question : Combo box selection to select records for form

I have an ADP with SQL backend which was converted from Access. I had a combo box that worked in Access but it is not working since I upsized to the adp. Here is the After Update from the combo box.

What needs to be changed for it to work in the ADP?
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
Private Sub Combo144_AfterUpdate()
' Find the record that matches the control.
    Dim rs As Object
 
    Set rs = Me.Recordset.Clone
    rs.FindFirst "[fld_JobNumber] = " & Str(Nz(Me![Combo144], 0))
    If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub

Answer : Combo box selection to select records for form

shouldnt you declare rs as a recordset object?

Dim rs As DAO.Recordset

and command for cloning recordset is:

Set rs = Me.RecordsetClone
Random Solutions  
 
programming4us programming4us