CDaoRecordset::GetParamValue
virtual COleVariant GetParamValue(intnIndex**);
throw( CDaoException, CMemoryException );**
virtual COleVariant GetParamValue( LPCTSTRlpszName**);
throw( CDaoException, CMemoryException );**
Return Value
An object of class COleVariant that contains the parameter’s value.
Parameters
nIndex
The numerical position of the parameter in the underlying DAOParameter object.
lpszName
The name of the parameter whose value you want.
Remarks
Call this member function to retrieve the current value of the specified parameter stored in the underlying DAOParameter object. You can access the parameter either by name or by its numerical position in the collection.
For more information about parameters, see the article in Visual C++ Programmer's Guide. For related information, see the topic "Parameter Object" in DAO Help.
CDaoRecordset Overview | Class Members | Hierarchy Chart
See Also CDaoRecordset::SetParamValue, CDaoRecordset::m_nParams