CDaoRecordset::SetParamValueNull

void SetParamValueNull( short nIndex );
throw( CDaoException, CMemoryException );

void SetParamValueNull( LPCTSTR lpszName );
throw( CDaoException, CMemoryException );

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

Call this member function to set the parameter to a Null value. C++ NULL is not the same as Null, which, in database terminology, means “having no value.”

For more information about updating data, see the article DAO Recordset: Recordset Operations in Visual C++ Programmer's Guide. For related information, see the topic "Parameter Object" in DAO Help.

CDaoRecordset OverviewClass MembersHierarchy Chart