BOOL IsFieldDirty( void* pv ) const;
throw( CDaoException, CMemoryException );
Return Value
Nonzero if the specified field data member is flagged as dirty; otherwise 0.
Parameters
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.
Remarks
Call this member function to determine whether the specified field data member of a dynaset has been flagged as “dirty” (changed). 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. For more information on the dirty flag, see the article DAO Recordset: Caching Multiple Records in Visual C++ Programmer's Guide.
IsFieldDirty is implemented through DoFieldExchange.
For more information about record field exchange, see the article DAO Record Field Exchange (DFX) in Visual C++ Programmer's Guide.
CDaoRecordset Overview | Class Members | Hierarchy Chart
See Also CDaoRecordset::IsFieldNull, CDaoRecordset::IsFieldNullable