home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / usr / sybase / doc / dbcurrow.man < prev    next >
Encoding:
Text File  |  1993-04-22  |  1.5 KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                 DBCURROW
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  DBCURROW
  6.  
  7.   FUNCTION:
  8.        Return the number of the row currently being read.
  9.  
  10.   SYNTAX:
  11.        DBINT DBCURROW(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o This macro returns the number of the row currently being  read.
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   DBCURROW                Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          Rows are counted from the first row returned  from  SQL Server,
  27.          whose  number  is 1, and not from the top of the row buffer, if
  28.          any.   The  row  number  changes  every  time  dbnextrow()   or
  29.          dbgetrow() returns SUCCEED.
  30.  
  31.        o The row number is reset to 0 by each new call to dbresults().
  32.  
  33.   PARAMETERS:
  34.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  35.            connection for a particular front-end/SQL Server process.  It
  36.            contains all the information that DB-Library uses  to  manage
  37.            communications and data between the front end and SQL Server.
  38.  
  39.   RETURNS:
  40.        The number of the current row.  This routine returns 0 if no rows
  41.        have been processed yet.
  42.  
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                 DBCURROW
  47.   ______________________________________________________________________
  48.  
  49.   SEE ALSO:
  50.        dbclrbuf, DBFIRSTROW, dbgetrow, DBLASTROW,  dbnextrow,  dbsetopt,
  51.        options
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.