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


CDaoRecordset::IsFieldDirty

Call this member function to determine whether the specified field data member of a dynaset has been flagged as "dirty" (changed).

BOOL IsFieldDirty(
   void* pv 
);

Параметры

  • pv
    A pointer to the field data member whose status you want to check, or NULL to determine if any of the fields are dirty.

Возвращаемое значение

Nonzero if the specified field data member is flagged as dirty; otherwise 0.

Заметки

The data in all dirty field data members will be transferred to the record on the data source when the current record is updated by a call to the Update member function of CDaoRecordset (following a call to Edit or AddNew). With this knowledge, you can take further steps, such as unflagging the field data member to mark the column so it will not be written to the data source.

IsFieldDirty is implemented through DoFieldExchange.

Требования

Header: afxdao.h

См. также

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

CDaoRecordset Class

CDaoRecordset Members

Hierarchy Chart

CDaoRecordset::IsFieldNull

CDaoRecordset::IsFieldNullable