Returns the column name in a cursor for a JSP Web target.
PSCursorClass objects
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 |
String
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.
The following example retrieves the name of the fifth column in the object called “mycursor”:
column_name = mycursor.GetColumnName(5);