E
Eva
I have a combo box that searches for a record by last name
using the code below. What can be added to the code to
highlight the record with - let's say - a yellow color
when the record is found?
You may need more information - I wasn't sure what.
Thank you
Private Sub Combo41_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[LastName] = '" & Me![Combo41] & "'"
Me.Bookmark = rs.Bookmark
End Sub
using the code below. What can be added to the code to
highlight the record with - let's say - a yellow color
when the record is found?
You may need more information - I wasn't sure what.
Thank you
Private Sub Combo41_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[LastName] = '" & Me![Combo41] & "'"
Me.Bookmark = rs.Bookmark
End Sub