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


CRecordset::SetParamNull

Flags a parameter as Null (specifically having no value) or as non-Null.

void SetParamNull(
   int nIndex,
   BOOL bNull = TRUE 
);

Параметры

  • nIndex
    The zero-based index of the parameter.

  • bNull
    If TRUE (the default value), the parameter is flagged as Null. Otherwise, the parameter is flagged as non-Null.

Заметки

Unlike SetFieldNull, you can call SetParamNull before you have opened the recordset.

SetParamNull is typically used with predefined queries (stored procedures).

Требования

Header: afxdb.h

См. также

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

CRecordset Class

CRecordset Members

Hierarchy Chart

CRecordset::FlushResultSet