CDaoDatabase::GetRecordsAffected

long GetRecordsAffected( );
throw( CDaoException, CMemoryException );

Return Value

A long integer containing the number of records affected.

Remarks

Call this member function to determine the number of records affected by the most recent call of the Execute member function. The value returned includes the number of records deleted, updated, or inserted by an action query run with Execute. The count returned will not reflect changes in related tables when cascade updates or deletes are in effect.

For more information about database objects, see the article DAO Database in Visual C++ Programmer's Guide. For related information, see the topic "RecordsAffected Property" in DAO Help.

CDaoDatabase OverviewClass MembersHierarchy Chart