共用方式為


CRecordset::CanAppend

Determines whether the previously opened recordset allows you to add new records.

BOOL CanAppend( ) const;

Return Value

Nonzero if the recordset allows adding new records; otherwise 0. CanAppend will return 0 if you opened the recordset as read-only.

Requirements

Header: afxdb.h

See Also

Concepts

CRecordset Class

CRecordset Members

Hierarchy Chart

CRecordset::AddNew

CRecordset::Requery