adoRSetParmSet
Previous Topic  Next Topic 

Synopsis:

       adoRSetParmSet(handle,parmID,Value)

Arguments:

       handle - The connection handle.

       parmID        - The parameter ID to set

       Value        - The value to set the parameter to


Description:   This function enables the underlying recordset parameters to be set for the connection defined by handle.     The parmID argument is the ID of the parameter that is to be set (see adoRSetParmGet()) and the Value is the value to set it to.    Note that this function can be used at any time after the recordset object has been created by a call to adoRecordset() and can be used to set up the properties of the recordset prior to calling the adoRSetQuery() or adoRSetCmd() function call.


Returns:   Returns 0 upon success or a negative error code.   If ADOERR_COMERR is returned, then the underlying ADO error can be obtained by calling adoLastError()