Hi,
I have a program called 'search-eventx.asp' and i call a function "getDropdownCity()". I'm getting the following error :
Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/search-eventx.asp, line 73
------------------------------------------------------------
function getDropdownCity()
Dim description, rs, strSQL
Set rs = Server.CreateObject("ADODB.Recordset"
if isobject(rs) then
strSQL = "SELECT Location from locations;"
=> line 73 rs.Open strsql, Conn
do until rs1.eof
description = description & "<OPTION value='" & rs("Location"
& "'" & ">" & rs("Location"
& "</opt" & "ion>"
rs.moveNext
loop
end if
getDropdownCity = description
end function
%>
------------------------------------------------------------
Could you please feedback me the possible causes.
Thanks.
I have a program called 'search-eventx.asp' and i call a function "getDropdownCity()". I'm getting the following error :
Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/search-eventx.asp, line 73
------------------------------------------------------------
function getDropdownCity()
Dim description, rs, strSQL
Set rs = Server.CreateObject("ADODB.Recordset"
if isobject(rs) then
strSQL = "SELECT Location from locations;"
=> line 73 rs.Open strsql, Conn
do until rs1.eof
description = description & "<OPTION value='" & rs("Location"
rs.moveNext
loop
end if
getDropdownCity = description
end function
%>
------------------------------------------------------------
Could you please feedback me the possible causes.
Thanks.