Export (0) Print
Expand All
Expand Minimize

CDaoRecordset::GetParamValue

Call this member function to retrieve the current value of the specified parameter stored in the underlying DAOParameter object.

virtual COleVariant GetParamValue( 
   int nIndex  
); 
virtual COleVariant GetParamValue( 
   LPCTSTR lpszName  
);

nIndex

The numerical position of the parameter in the underlying DAOParameter object.

lpszName

The name of the parameter whose value you want.

An object of class COleVariant that contains the parameter's value.

You can access the parameter either by name or by its numerical position in the collection.

For related information, see the topic "Parameter Object" in DAO Help.

Header: afxdao.h

Show:
© 2015 Microsoft