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