Поделиться через


CDaoDatabase::GetRecordsAffected

Call this member function to determine the number of records affected by the most recent call of the Execute member function.

long GetRecordsAffected( );

Возвращаемое значение

A long integer containing the number of records affected.

Заметки

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 related information, see the topic "RecordsAffected Property" in DAO Help.

Требования

Header: afxdao.h

См. также

Основные понятия

CDaoDatabase Class

CDaoDatabase Members

Hierarchy Chart