sqlany_fetch_next( a_sqlany_stmt *) method

Returns the next row from the result set.

Syntax

public sacapi_bool sqlany_fetch_next ( a_sqlany_stmt * sqlany_stmt)

Parameters

Returns

1 if the fetch was successfully, 0 when the fetch is unsuccessful.

Usage

This function fetches the next row from the result set. When the result object is first created, the current row pointer is set to before the first row, that is, row 0. This function first advances the row pointer and then fetches the data at the new row.