CDaoQueryDef::GetRecordsAffected

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

Return Value

The number of records affected.

Remarks

Call this member function to determine how many records were affected by the last call of Execute. The count returned will not reflect changes in related tables when cascade updates or deletes are in effect.

For information about querydefs, see the article DAO Querydef in Visual C++ Programmer's Guide. For related information see the topic "RecordsAffected Property" in DAO Help.

CDaoQueryDef OverviewClass MembersHierarchy Chart