释义 |
CDaoRecordset::SetFieldValueNull
void SetFieldValueNull(short nIndex); throw(CDaoException, CMemoryException); void SetFieldValueNull(LPCTSTR lpszName); throw(CDaoException, CMemoryException);
参数:nIndex | 记录集中的字段索引,用于按基于0的索引查找。 | lpszName | 记录集中的字段名字,用于按名字查找。 |
说明: 调用这个成员函数,可以把字段设置为Null。C++中NULL与这个Null含义不同,在数据库术语中表示“不含任何值”。 有关记录字段交换的更多信息,请参阅联机文档“Visual C++程序员指南”中的“DAO记录字段交换(DFX)”和“DAO记录集:动态绑定记录”。
请参阅:CDaoRecordset::SetFieldValue |