Return the number of the first row in the row buffer.
DBINT DBFIRSTROW(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 first row in the row buffer. Rows are counted from the first row returned from the server, whose number is 1. This routine returns 0 if there is an error.
This macro returns the number of the first row in the row buffer.
If you are not buffering rows, DBFIRSTROW, DBCURROW, and DBLASTROW always have the same value. If you have allowed buffering by setting the DBBUFFER option, DBFIRSTROW returns the number of the first row in the row buffer.
Note that the first row returned from the server (whose value is 1) is not necessarily the first row in the row buffer. The rows in the row buffer are dependent on manipulation by the application program. See the dbclrbuf reference page for details.
dbclrbuf, DBCURROW, dbgetrow, DBLASTROW, dbnextrow, dbsetopt, Options