CDaoRecordset::CanAppend

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.

Remarks

Call this member function to determine whether the previously opened recordset allows you to add new records by calling the AddNew member function.

For more information about updating records, see the article DAO Recordset: Recordset Operations in Visual C++ Programmer's Guide. For related information, see the topic "Append Method" in DAO Help.

CDaoRecordset OverviewClass MembersHierarchy Chart

See Also   CDaoRecordset::CanBookmark, CDaoRecordset::CanRestart, CDaoRecordset::CanScroll, CDaoRecordset::CanTransact, CDaoRecordset::CanUpdate