Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlNext

Retrieve the next row from cursor.

Declaration

CTSQLRET ctsqlNext(pCTSQLCURSOR hCursor)

Description

ctsqlNext() retrieves the next row from cursor.

  • hCursor the cursor handle

Return

ctsqlNext() returns CTSQLRET_OK on success.

Symbolic Constant

Explanation

SQL_ERR_BADARG

Bad arguments.

CTSQL_NOTFOUND

No more rows exist in the result set.

TOCIndex