Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic


Call this member function to determine whether the CDatabase object allows updates.

BOOL CanUpdate( ) const;

Nonzero if the CDatabase object allows updates; otherwise 0, indicating either that you passed TRUE in bReadOnly when you opened the CDatabase object or that the data source itself is read-only. The data source is read-only if a call to the ODBC API function SQLGetInfo for SQL_DATASOURCE_READ_ONLY returns "y".

Not all drivers support updates.

Header: afxdb.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.