ctsqlJumpTo
Retrieve the nth row from cursor current position.
Declaration
CTSQLRET ctsqlJumpTo(pCTSQLCURSOR hCursor, INTEGER nth)
Description
Returns the nth row from the current position. It jumps backward when nth is a negative value or forward for a positive nth value.
Return Values
CTSQLRET_OK on success.
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.
Example
ctsqlJumpTo(hCursor, 1) is the same as calling ctsqlNext().
ctsqlJumpTo(hCursor, -1) is the same as calling ctsqlPrev().