ui.Dialog.getFieldValue

Returns the value of a field controlled by a dynamic dialog.

Syntax

getFieldValue(
   name STRING )
  1. name is the name of the dialog.

Usage

The getFieldValue() method can be used when implementing a dynamic dialog, to return the value of a field:
DISPLAY d.getFieldValue( "customer.cust_addr" )

The first parameter defines the field to be set. For more details about field name specification, see Identifying fields in dialog methods.

When used in a dynamic dialog controlling a list of records, this methods returns the value for a field in the current row. The current row can be set with the setCurrentRow() method.