Running queries
Rather
than returning the entire record, HCL Compass returns
only those fields of the record that you specified by calling the BuildField
method
of the QueryDef object (for more information, see "Creating queries"). The Execute
method
returns results in no particular order. Therefore, the ResultSet object
uses a cursor-based system to allow your code to move through the
records one by one.
To perform the search (execute the query), call
the Execute
method
of the ResultSet object. You can now use the methods of ResultSet
to obtain information about the fields of the record.
Running a query that has dynamic filters
Running a query and reporting on its result set