CDatabaseRecordset::GetRecordCount

[This is preliminary documentation and subject to change.]

The GetRecordCount method counts the number of records in the recordset.

long GetRecordCount(void);
 

Parameters

None.

Return Values

The total number of records.

Remarks

Calling the GetRecordCount method causes the recordset object to move to the last record, which may be slow for large record sets.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in dbsets.h.
  Import Library: Use dbsets.lib or dbsetsSt.lib.
  Unicode: Yes.