CDatabaseRecordset::GotoRecord

[This is preliminary documentation and subject to change.]

The GotoRecord method jumps to the specified record in a recordset.

BOOL GotoRecord(
  long RecordNumber  
);
 

Parameters

RecordNumber
A long that specifies the 0-based index of the record to jump to. This value cannot be greater than GetRecordCount - 1.

Return Values

A BOOL indicating the success or failure of the method. If this value is TRUE, the method succeeded. If it is FALSE, an error occurred.

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.