Platform SDK: Broadcast Architecture

CDatabaseRecordset::GotoRecord

The GotoRecord method jumps to the specified record in a recordset. C syntax is shown.

BOOL GotoRecord(
  LONG RecordNumber
);

Parameters

RecordNumber
A LONG that specifies the zero-based index of the record to jump to. This index number cannot be greater than the return value of the GetRecordCount method – 1.

Return Values

Returns TRUE if GotoRecord succeeded in jumping to the specified record, and FALSE otherwise.

Requirements

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

See Also

CDatabaseRecordset::GetRecordCount