RenderSearchResults and RenderSearchResultRow
The routines RenderSearchResults and RenderSearchResultRow are found in the include file catalog.asp. The former routine either returns a string indicating that no matches were found, or builds up a string consisting of:
- A line reporting the number of matches found.
- An HTML formatted line with one of the search results for each record in the passed RecordSet object. This is accomplished by calling the routine RenderSearchResultRow, which formats the line appropriating for the type of search result (product, category, and so on), including a link to the corresponding product or category page.
As released, these routines do not format the results using the HTML TABLE element, though it is possible to change these routines to do so.