Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbJumpToRecord

Move to record by jumping forward or backward a number of records.

Declaration

CTDBRET ctdbDECL ctdbJumpToRecord(CTHANDLE Handle, LONG numberOfRecords)

Description

ctdbJumpToRecord() moves to a record by jumping forward or backward a number of records. A negative number jumps backward.

  • Handle [in] - The record handle.
  • numberOfRecords [in] - The number of records to skip (positive value to skip forward; negative value to skip backwards).

Returns

ctdbJumpToRecord() returns CTDBRET_OK on success or c-treeDB API error on failure.

See also

ctdbAllocRecord(), ctdbFirstRecord(), ctdbPrevRecord(), ctdbLastRecord(), ctdbFindRecord(), ctdbRecordSetOn()

TOCIndex