共用方式為


CDaoRecordset::CanTransact

Call this member function to determine whether the recordset allows transactions.

BOOL CanTransact( );

Return Value

Nonzero if the underlying data source supports transactions, otherwise 0.

Remarks

For related information, see the topic "Transactions Property" in DAO Help.

Requirements

Header: afxdao.h

See Also

Reference

CDaoRecordset Class

Hierarchy Chart

CDaoRecordset::AddNew

CDaoRecordset::CanAppend

CDaoRecordset::CancelUpdate

CDaoRecordset::CanScroll

CDaoRecordset::CanRestart

CDaoRecordset::CanUpdate

CDaoRecordset::Delete

CDaoRecordset::Edit

CDaoRecordset::Update

Other Resources

CDaoRecordset Members