Export (0) Print
Expand All

CDaoRecordset::m_bCheckCacheForDirtyFields

Contains a flag indicating whether cached fields are automatically marked as dirty (changed) and Null.

Remarks

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.

See Also

CDaoRecordset Overview | Class Members | Hierarchy Chart | CDaoRecordset::SetFieldNull | CDaoRecordset::IsFieldNull | CDaoRecordset::IsFieldDirty | CDaoRecordset::SetFieldDirty

Show:
© 2014 Microsoft