Share via


CDaoRecordset::SetParamValueNull

Call this member function to set the parameter to a Null value.

void SetParamValueNull( 
   int nIndex  
); 
void SetParamValueNull( 
   LPCTSTR lpszName  
);

Parameters

  • nIndex
    The index of the field in the recordset, for lookup by zero-based index.

  • lpszName
    The name of the field in the recordset, for lookup by name.

Remarks

C++ NULL is not the same as Null, which, in database terminology, means "having no value."

Requirements

Header: afxdao.h

See Also

Reference

CDaoRecordset Class

Hierarchy Chart