secondreckoned
Technical User
Hi,
I have multiple drop down list that allows a user to select categories that will display articles based on their selections. It's possible for the results to list dozens of articles. I am having some logic blockage in getting started with this. I can get the listing to show the article name as an anchor and a short description below it and list it all on one page but because the search results can generate large lists I would like to be able to show the results on a page in groups of 10 for instance. I am using an sql db and asp as my web script Can someone help point me in the right direction as to how I can do this?
<table>
<%
Set keyword1RS = objADOConn.execute("Select * From tb_OCCNetProcessDocs Where Keyword1 in ('" & replace(category, ", ", "','") & "') or Keyword2 in ('" & replace(category, ", ", "','") & "') or Keyword3 in ('" & replace(category, ", ", "','") & "')")
do until keyword1RS.eof
%>
<tr>
<td>
<%
response.Write "<a target='_blank' href='response.Write(keyword1RS("DocDescription"))&"<br>"
keyword1RS.movenext
loop
%>
</td>
</tr>
</table>
I have multiple drop down list that allows a user to select categories that will display articles based on their selections. It's possible for the results to list dozens of articles. I am having some logic blockage in getting started with this. I can get the listing to show the article name as an anchor and a short description below it and list it all on one page but because the search results can generate large lists I would like to be able to show the results on a page in groups of 10 for instance. I am using an sql db and asp as my web script Can someone help point me in the right direction as to how I can do this?
<table>
<%
Set keyword1RS = objADOConn.execute("Select * From tb_OCCNetProcessDocs Where Keyword1 in ('" & replace(category, ", ", "','") & "') or Keyword2 in ('" & replace(category, ", ", "','") & "') or Keyword3 in ('" & replace(category, ", ", "','") & "')")
do until keyword1RS.eof
%>
<tr>
<td>
<%
response.Write "<a target='_blank' href='response.Write(keyword1RS("DocDescription"))&"<br>"
keyword1RS.movenext
loop
%>
</td>
</tr>
</table>