I have a recordset rsprods that I want to presort using a menu item. For example if the database contains eyeglasses and there are different categories, If I select sunglasses on the first menu item, the second menu item would be populated only with the items in the database that have sunglasses under the column heading category. Anybody know how this can be done?
Thanks in advance
Here is the code fior the dynamic recordset with all the items populating a menu:
<select name="name">
<%
While (NOT rsProds.EOF)
%>
<option value="<%=(rsProds.Fields.Item("Name"
.Value)%>" ><%=(rsProds.Fields.Item("Name"
.Value)%></option>
<%
rsProds.MoveNext()
Wend
If (rsProds.CursorType > 0) Then
rsProds.MoveFirst
Else
rsProds.Requery
End If
%>
</select>
Thanks in advance
Here is the code fior the dynamic recordset with all the items populating a menu:
<select name="name">
<%
While (NOT rsProds.EOF)
%>
<option value="<%=(rsProds.Fields.Item("Name"
<%
rsProds.MoveNext()
Wend
If (rsProds.CursorType > 0) Then
rsProds.MoveFirst
Else
rsProds.Requery
End If
%>
</select>