Create a Parent Recordset Object for the Query
Note
Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.
This code segment uses the CreateRecordset method of the Query object to execute the query and to create objRS_Parent, an ADO parent Recordset object of query results.
objRS_Parent = objQ.CreateRecordset("nonsequential");
For a description of the "nonsequential" parameter, see Sequential and Nonsequential Execution.