Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_Cursor_iface class

 

Next function

Moves the cursor forward one row.

Syntax
bool UltraLite_Cursor_iface::Next()
Returns
  • True, if the cursor successfully moves forward. Despite returning true, an error may be signaled even when the cursor moves successfully to the next row. For example, there could be conversion errors while evaluating the SELECT expressions. In this case, errors are also returned when retrieving the column values.

  • False, if it fails to move forward. For example, there may not be a next row. In this case, the resulting cursor position is AfterLast function.