I need someone to point me in the right direction. I have an alphabit a-z under my custom search function. I want that when someone clicks on a letter like c all the products that start with that letter come up. I know the code in asp would look like this
[2]
Dim strQuery, rsProducts
Set rsProducts = Server.CreateObject("ADODb.Recordset")
If Request.QueryString ("letter") <> "" Then
strQuery = "SELECT * FROM tblbvc_Product WHERE ProductName LIKE('" & Replace(Request.QueryString ("letter")&"", "'", "''") & "%')"
rsProducts.
open strQuery, con, adUseClient
End If
But I am not sure where to place the code,
BVModules\Controls\Search.ascx
CBVAdmin\Configuration\Search.aspx.vb
or
BVModules\Controls\SearchCriteria.ascx.vb
and how to handle this, I am including a screen shot of the alphabit
[/2]
emunah attached the following image(s):
screenshot.JPG
(118kb) downloaded 41 time(s).You cannot view/download attachments. Try to login or register.