We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


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

BOOL CanTransact( ) const;

Nonzero if recordsets using this CDatabase object allow transactions; otherwise 0.

For information about transactions, see the article Transaction (ODBC).

Header: afxdb.h