Platform SDK: Broadcast Architecture

CDatabaseRecordset::GetRecordCount

The GetRecordCount method counts the number of records in a recordset. C syntax is shown.

LONG GetRecordCount(void);

Parameters

None.

Return Values

Returns the total number of records in the recordset.

Remarks

Calling the GetRecordCount method causes the current position in the recordset object to move to the last record. This movement may be slow for large recordsets.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in dbsets.h.
  Import Library: Use dbsets.lib or dbsetsst.lib.