Compartilhar via


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

Reference

CRecordset Class

Hierarchy Chart

CRecordset::AddNew

CRecordset::Requery