onedizzydevil
Programmer
I am having a problem coding against an Index Server Catalog. I get the following error
CreateRecordset error 'c0004002'
The Query property was not set.
/Default.asp, line 47
and here is the code I am using:
Line 36>> <% If Request.Querystring("showResults"=1 Then
Line 37>>
Line 38>> Dim objQuery ' As ixsso.Query
Line 39>> Dim rsQuery ' As ADODB.Recordset
Line 40>>
Line 41>> Set objQuery = Server.CreateObject("ixsso.Query"
Line 42>> objQuery.Query = Request.form("txtQuery"
Line 43>> objQuery.Columns = "filename.vpath.DocTitle"
Line 44>> objQuery.Catalog = "D:\Index Server Catalogs"
Line 45>> objQuery.MaxRecords = 50
Line 46>>
Line 47>> Set rsQuery=objQuery.CreateRecordset("nonsequential"
Line 48>>
Line 49>> %>
Any idea on what the problem may be? Thanks for your help.
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0."
CreateRecordset error 'c0004002'
The Query property was not set.
/Default.asp, line 47
and here is the code I am using:
Line 36>> <% If Request.Querystring("showResults"=1 Then
Line 37>>
Line 38>> Dim objQuery ' As ixsso.Query
Line 39>> Dim rsQuery ' As ADODB.Recordset
Line 40>>
Line 41>> Set objQuery = Server.CreateObject("ixsso.Query"
Line 42>> objQuery.Query = Request.form("txtQuery"
Line 43>> objQuery.Columns = "filename.vpath.DocTitle"
Line 44>> objQuery.Catalog = "D:\Index Server Catalogs"
Line 45>> objQuery.MaxRecords = 50
Line 46>>
Line 47>> Set rsQuery=objQuery.CreateRecordset("nonsequential"
Line 48>>
Line 49>> %>
Any idea on what the problem may be? Thanks for your help.
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0."