S
Song Su
My continiuse form has 2 separate fields: Last Name and First Name. I setup
a search combo box and I want user to type last name, (comma and space) and
continue to type first name to search correct record. My code only search
Last Name. How to do that? Thanks.
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
End Sub
a search combo box and I want user to type last name, (comma and space) and
continue to type first name to search correct record. My code only search
Last Name. How to do that? Thanks.
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
End Sub