I have a form with a combo box to find a particular record
Private Sub Combo55_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[membership no] = '" & Str(Me![Combo55]) & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Combo55 = ""
End Sub
The form is based on a query as is the combo
Membership no is the primary key on the table
The problem is that it only displays the first record irrespective of the selection.
I have used this on another form which works fine.
Am I missing something obvious
Thanks
Private Sub Combo55_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[membership no] = '" & Str(Me![Combo55]) & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Combo55 = ""
End Sub
The form is based on a query as is the combo
Membership no is the primary key on the table
The problem is that it only displays the first record irrespective of the selection.
I have used this on another form which works fine.
Am I missing something obvious
Thanks