Purpose:
This is the class that is used to represent a parametric query for OD.
Methods:
init(LPDISPATCH ds, LPCTSTR queryString);
This method must be called following the creation of a DXParametricQueryOD object (except for methods returning a DXParametricQueryOD object). The method initializes the query object with the datastore and query string. The input parameter LPDISPATCH pointer contains a DXDatastoreOD object.
LPDISPATCH datastore();
Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreOD object.
short qlType();
BSTR queryString();
prepare([VARIANT parms]);
Prepares the query. The optional parameter is in the form af an array of DXNVPairOD objects.
execute([VARIANT parms]);
Executes the query. The optional parameter is in the form af an array of DXNVPairOD objects.
long status();
VARIANT result();
Gets the result collection. The value of the VARIANT is DXResultsOD object.
LPDISPATCH resultSetCursor();
Gets the result set cursor. The returned LPDISPATCH pointer contains a DXResultSetCursorOD object.
long numberOfResults();
Gets the number of results.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.