Export (0) Print
Expand All
MFC
Expand Minimize

CDaoRecordset::CanUpdate

Call this member function to determine whether the recordset can be updated.

BOOL CanUpdate( ) const;

Nonzero if the recordset can be updated (add, update, and delete records), otherwise 0.

A recordset might be read-only if the underlying data source is read-only or if you specified dbReadOnly for nOptions when you called Open for the recordset.

For related information, see the topics "AddNew Method", "Edit Method", "Delete Method", "Update Method", and "Updatable Property" in DAO Help.

Header: afxdao.h

Community Additions

ADD
Show:
© 2014 Microsoft