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  


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


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