Поделиться через


CDaoRecordset::SetFieldValueNull

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

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

Параметры

  • 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.

Заметки

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

For related information, see the topics "Field Object" and "Value Property" in DAO Help.

Требования

Header: afxdao.h

См. также

Основные понятия

CDaoRecordset Class

CDaoRecordset Members

Hierarchy Chart

CDaoRecordset::SetFieldValue