Condividi tramite


CRecordset::CanUpdate

Determines whether the recordset can be updated.

BOOL CanUpdate( ) const;

Return Value

Nonzero if the recordset can be updated; otherwise 0.

Remarks

A recordset might be read-only if the underlying data source is read-only or if you specified CRecordset::readOnly in the dwOptions parameter when you opened the recordset.

Requirements

Header: afxdb.h

See Also

Concepts

CRecordset Class

CRecordset Members

Hierarchy Chart

CRecordset::Open

CRecordset::AddNew

CRecordset::Edit

CRecordset::Delete

CRecordset::Update