I'm trying to search the database based on the surname entered in the search textbox.
However, I'm getting the following recordset error:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.


Code:
<form name = "frmSearch" action = "#" method = "get"> 
Search by Surname: 
<input type = "text" name = "txtSearch" size="20"> 
<input type = "submit" value = "Search"> 
</form> 

<!-- #INCLUDE FILE="Connect2DB.asp" -->
<% 
dim sSQL

dim queryRS 
Set queryRS = Server.CreateObject("ADODB.Recordset")
queryRS.CursorType=2
queryRS.LockType=3


if (request.queryString("txtSearch") = "") then 
	Response.write("Sorry, there are no members by that name")
else
	dim searchString 
	searchString = request.queryString("txtSearch")	
	sSQL = "SELECT TITLE, FIRST_NAME, M_INITIAL, SURNAME FROM MEMBER WHERE SURNAME = '" & searchString & "';"
end if 

queryRS.Open sSQL, adoCon 
		   Do While NOT queryRS.EOF 
          		  Response.write("<br />")    
                Response.write("<b>Title: </b>") 
                Response.Write (queryRS(0) & "<br>") 
                Response.write("<b>First Name: </b>") 
                Response.Write (queryRS(1) & "<br>") 
                Response.write("<b>Middle Initial: </b>") 
                Response.Write (queryRS(2) & "<br>") 
                Response.write("<b>Surname: </b>") 
                Response.Write (queryRS(3) & "<br>") 
                Response.Write("<BR><HR>")
                

 'Move to the next record in the recordset 
     queryRS.MoveNext 
Loop 

adoCon.close 
%>
Any suggestions please....