CDaoRecordset::m_bCheckCacheForDirtyFields

Remarks

Contains a flag indicating whether cached fields are automatically marked as dirty (changed) and Null. The flag defaults to TRUE. The setting in this data member controls the entire double-buffering mechanism. If you set the flag to TRUE, you can turn off the caching on a field-by-field basis using the DFX mechanism. If you set the flag to FALSE, you must call SetFieldDirty and SetFieldNull yourself.

Set this data member before calling Open. This mechanism is primarily for ease-of-use. Performance may be slower because of the double-buffering of fields as changes are made.

For more information about binding records dynamically, see the article DAO Recordset: Binding Records Dynamically in Visual C++ Programmer's Guide.

CDaoRecordset OverviewClass MembersHierarchy Chart

See Also   CDaoRecordset::SetFieldNull, CDaoRecordset::IsFieldNull, CDaoRecordset::IsFieldDirty, CDaoRecordset::SetFieldDirty