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


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

См. также

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

CDaoRecordset Class

CDaoRecordset Members

Hierarchy Chart

CDaoRecordset::CanAppend

CDaoRecordset::CanBookmark

CDaoRecordset::CanScroll

CDaoRecordset::CanRestart

CDaoRecordset::CanTransact