dbsetrow

Description

Set a buffered row to “current.”

Syntax

STATUS dbsetrow(dbproc, row)
 
DBPROCESS       *dbproc;
DBINT                     row;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and the server.

row

An integer representing the row number of the row to make current. Row number 1 is the first row returned from the server. This is not necessarily the first row in the row buffer.

Returns

MORE_ROWS, NO_MORE_ROWS, or FAIL.

dbsetrow returns:

Usage

See also

dbclrbuf, DBCURROW, DBFIRSTROW, dbgetrow, DBLASTROW, dbnextrow, Options