gilgalbiblewhee
07-27-2005, 11:20 PM
This might sound complicated for me to explain but I'll try.
I have two columns in the database table where one is the "id" and the other "text_data".
I filled on a page checkboxes for the id and textareas for "text_data" per id.
<input type="submit" value=" Search " size="100" title="Search everything selected">
for....
<input type="checkbox" value="<%=RS("id")%>" name="id"><br/>
<%
Response.Write "<textarea "
response.write "name=""Keywordh"""
response.write "value=""Keywordh"""
response.write "rows=""3"" "
response.write "cols=""64"">"
response.write "</textarea>"
next....
there must be something wrong right of the start because when press "search" without checking anything it searches every textarea within the for-next loop. My intention is to search ONLY the textareas that are checked.
BUt I'm also wondering if it is necessary to have a textarea to make these searches. Is it possible to simply slap the "text_data" alone in the for-next, check the ones I choose and search?
I have two columns in the database table where one is the "id" and the other "text_data".
I filled on a page checkboxes for the id and textareas for "text_data" per id.
<input type="submit" value=" Search " size="100" title="Search everything selected">
for....
<input type="checkbox" value="<%=RS("id")%>" name="id"><br/>
<%
Response.Write "<textarea "
response.write "name=""Keywordh"""
response.write "value=""Keywordh"""
response.write "rows=""3"" "
response.write "cols=""64"">"
response.write "</textarea>"
next....
there must be something wrong right of the start because when press "search" without checking anything it searches every textarea within the for-next loop. My intention is to search ONLY the textareas that are checked.
BUt I'm also wondering if it is necessary to have a textarea to make these searches. Is it possible to simply slap the "text_data" alone in the for-next, check the ones I choose and search?