ASP Forum
URL Query Search Issue
webmagi | Posted 11:46am 30. June 2009 Server Time |

I am a VERY novice VB programmer (primarily a web designer) trying to solve an issue for a charity.

My current code (see below) allows me to enter a search term in a form and query results from an Access database.

What I would like to do is query the database using a search term in a URL.

ie. http://www.website/searchresults.asp?keyword=drugs

I tried putting the following code in the searchresults.asp page to capture the search and begin the query to no avail.

<%
Keyword = Request.QueryString("Keyword")
%>

Could someone please tell me what I am doing wrong? I would really appreciate some help so I can get beyond this issue and focus on another important project. Since the space in this forum is limited to 4000 characters I would be happy to email someone the code on the searchresults.asp page so you could help me trouble shoot the problem.

Thank you in advance,

Rand
webmagi | Posted 4:10pm 7. July 2009 Server Time |

Good news, I figured out my own problem...it's working!


Reply to Post URL Query Search Issue



Back to Forum Page