Return the number of the row currently being read.
DBINT DBCURROW(dbproc) DBPROCESS *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 server.
The number of the current row. This routine returns 0 if no rows have been processed yet.
This macro returns the number of the row currently being read. Rows are counted from the first row returned from the server, whose number is 1. DBCURROW counts both regular and compute rows.
The row number is reset to 0 by each new call to dbresults.
The row number grows by one every time dbnextrow returns REG_ROW or a computeid.
When row buffering is used, the row number does not represent the position in the row buffer. Rather, it represents the current row’s position in the rows returned by the server. See the reference pages for dbgetrow and dbsetrow.
dbclrbuf, DBFIRSTROW, dbgetrow, DBLASTROW, dbnextrow, dbsetopt, Options