CDaoException::GetErrorCount

short GetErrorCount( );

Return Value

The number of DAO error objects in the database engine’s Errors collection.

Remarks

Call this member function to retrieve the number of DAO error objects in the database engine’s Errors collection. This information is useful for looping through the Errors collection to retrieve each of the one or more DAO error objects in the collection. To retrieve an error object by index or by DAO error number, call the GetErrorInfo member function.

Note   Normally there is only one error object in the Errors collection. If you are working with an ODBC data source, however, there could be more than one.

CDaoException OverviewClass MembersHierarchy Chart