I keep on getting the error:
'===============================
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
'===============================
My code is as follows:
'===============================
description = Trim(Request("Description")
etc etc
ElseIf Request.QueryString("task" = "description" Then
mySQL = "SELECT * FROM [Worklist] WHERE [Worklist].[Description] LIKE '%' & cstr(description) & '%'"
End If
objRS.Open mySQL, objConn
'===============================
I'm using various search forms on the first page to call varying sql statements on the search results page depending upon the variable being passed over in the hyperlink. Not sure what is wrong with the SQL!
Also how do you use SQL to search for a date or time? (i.e. 28 November 2001 or 17:01. Can't work out how it's done..!)
Thanks.
'===============================
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
'===============================
My code is as follows:
'===============================
description = Trim(Request("Description")
etc etc
ElseIf Request.QueryString("task" = "description" Then
mySQL = "SELECT * FROM [Worklist] WHERE [Worklist].[Description] LIKE '%' & cstr(description) & '%'"
End If
objRS.Open mySQL, objConn
'===============================
I'm using various search forms on the first page to call varying sql statements on the search results page depending upon the variable being passed over in the hyperlink. Not sure what is wrong with the SQL!
Also how do you use SQL to search for a date or time? (i.e. 28 November 2001 or 17:01. Can't work out how it's done..!)
Thanks.