Partilhar via


CDaoQueryDef::GetRecordsAffected

Call this member function to determine how many records were affected by the last call of Execute.

long GetRecordsAffected( );

Return Value

The number of records affected.

Remarks

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.

Requirements

Header: afxdao.h

See Also

Reference

CDaoQueryDef Class

Hierarchy Chart

Other Resources

CDaoQueryDef Members