S
Song Su
My cboFind will show [Last Name] and [First Name]. I use wizard to create
following code.
Private Sub cboFind_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Last Name] = '" & Me![cboFind] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Me.cboFind.BackColor = -2147483633
Me.Last_Name.SetFocus
End Sub
However, if use uses down arrow to move to different first name (same last
name), my record selector only points to the first match of last name.
How to let record point to correct record?
Thanks.
following code.
Private Sub cboFind_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Last Name] = '" & Me![cboFind] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Me.cboFind.BackColor = -2147483633
Me.Last_Name.SetFocus
End Sub
However, if use uses down arrow to move to different first name (same last
name), my record selector only points to the first match of last name.
How to let record point to correct record?
Thanks.