CDaoRecordset::CanUpdate
BOOL CanUpdate( ) const;
throw( CDaoException, CMemoryException );
Return Value
Nonzero if the recordset can be updated (add, update, and delete records), otherwise 0.
Remarks
Call this member function to determine whether the recordset can be updated. 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 more information about updating data, see the article in Visual C++ Programmer's Guide. For related information, see the topics "AddNew Method", "Edit Method", "Delete Method", "Update Method", and "Updatable Property" in DAO Help.
CDaoRecordset Overview | Class Members | Hierarchy Chart
See Also CDaoRecordset::CanAppend, CDaoRecordset::CanBookmark, CDaoRecordset::CanScroll, CDaoRecordset::CanRestart, CDaoRecordset::CanTransact