| Database Toolbox User's Guide | Search  Help Desk |
| rows | Examples See Also |
Get number of rows in fetched data set
Syntax
numrows = rows(cursor)
Description
numrows = rows(cursor)
returns the number of rows in the fetched data set, cursor.
Examples
There are four rows in the fetched data set,cursorA:
rowsA = rows(cursorA)
rowsA =
4
To see the four rows of data in cursorA, type:
cursorA.data
ans =
'Germany'
'Mexico'
'France'
'Canada'
See Also
cols, fetch