How to Filter, and highlight matches in a search

T

Terry Stevens

I search with code like this:
' Search Title and Description
strWhere = strWhere & "([Title] Like ""*" & Me.Text188 & "*"") OR "
strWhere = strWhere & "([Description] Like ""*" & Me.Text188 & "*"") AND "
'Finally, apply the string as the form's Filter.
Me.Filter = strWhere
Me.FilterOn = True

Q. Description is a MEMO field
Q. If for example: Me.Text188 is 'Stevens Home'
How can I get the resulting found strings to be highlighted in a different
colour?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top