| Database Toolbox User's Guide | Search  Help Desk |
| width | Examples See Also |
Get field size of column in fetched data set
Syntax
colsize = width(cursor, column)
Description
colsize = width(cursor, column)
gets the field size of the specified column number, column, in the fetched data set, cursor.
Examples
Get the width of the first column of the fetched data set,cursorA:
widthA = width(cursorA, 1)
widthA =
11
The field size of column one is 11 characters (bytes).
See Also
attr, cols, columnnames, fetch