Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

width

Return field size of column in fetched data set

Syntax

colsize = width(cursor, colnum)

Description

colsize = width(cursor, colnum) returns the field size of the specified column number colnum in the fetched data set curs.

Examples

Retrieve the width of the first column of the fetched data set curs.

colsize = width(curs, 1)

colsize =

    11

The field size of column one is 11 characters (bytes).

To create fetched data sets using an ODBC connection, you can use the native ODBC interface. For details, see database.

Related Examples

See Also

| | | |

Introduced before R2006a

Was this topic helpful?