GetColumnName

Description

Returns the column name in a cursor for a JSP Web target.

Applies to

PSCursorClass objects

Syntax

cursorobject.GetColumnName( int iCol )

Argument

Description

cursorobject

A variable that contains a reference to an instance of PSCursorClass

iCol

Number of the column for which you want to obtain the name

Returns

String

Usage

Use in conjunction with GetColumn<DataType> methods to obtain values in a cursor. For JSP targets, you cannot use GetValue to obtain column values in a cursor.

Examples

Example 1

The following example retrieves the name of the fifth column in the object called “mycursor”:

column_name = mycursor.GetColumnName(5);

See also