Return the number of the last row in the row buffer.
DBINT DBLASTROW(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 last row in the row buffer. This routine returns 0 if there is an error.
This macro returns the number of the last row in the row buffer. Rows are counted from the first row returned from the server, whose number is 1, and not from the top of the row buffer.
If you are not buffering rows, DBFIRSTROW, DBCURROW, and DBLASTROW will always have the same value. If you have enabled buffering by setting the DBBUFFER option, DBLASTROW will return the number of the row that is the last row in the row buffer.
dbclrbuf, DBCURROW, DBFIRSTROW, dbgetrow, dbnextrow, dbsetopt, Options