GetFieldName

PowerBuilder Native Interface

IPB_Session interface:

GetFieldName method

Description

Obtains the name of the specified field.

Syntax

GetFieldName(pbclass cls, pbfieldID fid)

Argument

Description

cls

The class that defines the field

fid

The internal ID of the class instance variable

Return Values

LPCTSTR. The field name of the specified field. If an incorrect field ID is specified, this function returns null.

Usage

When you have finished using the name, call the ReleaseString method to free the memory acquired.

See Also