Hi Adam,
It all depends on the way you have coded your solution. The easiest way to do it is to simply use the VBScript Replace method to replace the search word with the search word surrounded by <strong> tags.
Here's an example (I assume you have a field in your Recordset called "Description" for example):
[old]
Code:
Response.Write("<td>" & rsSearchResults("Description") & "</td>")
[new]
Code:
Response.Write("<td>" & Replace(rsSearchResults("Description"), SearchFor, _
"<strong>" & SearchFor & "</strong></td>")
This will surround all occurences of SearchFor with the <strong> tags.
Depending on the stuff that is in the database and the terms users are searching for, this may not always give the right results.....
HtH
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.