Returns the number of the row currently being read.
DBINT dbcurrow ( PDBPROCESS dproc );
The number of the current row.
dbcurrow returns the number of the row most recently read by dbgetrow or dbnextrow. When you do not turn on row buffering, dbfirstrow, dbcurrow, and dblastrow always return the same value (the number of the current row).
Use dbgetrow to read rows from the row buffer.
The first row returned from SQL Server is number 1. The row number is changed every time dbnextrow or dbgetrow returns SUCCEED. The row number is reset to 0 by each new call to dbresults.
dbclrbuf | DB-Library Options |
dbfirstrow | dbnextrow |
dbgetrow | dbresults |
dblastrow | dbsetopt |