ui.Dialog.getFieldBuffer
Returns the input buffer of the specified field.
Syntax
getFieldBuffer(
name STRING )
RETURNS STRING
- name is the form field name, see Identifying fields in ui.Dialog methods.
Usage
The getFieldBuffer()
method returns the current input buffer of the
specified field. The input buffer is used by the dialog to synchronize form fields
and program variables. In some situations, especially when using the buffered mode or in a CONSTRUCT
, you may want to
access the field input buffer.
Note: Use of this method is only recommended in dialogs allowing field input
(
INPUT
, INPUT ARRAY
, CONSTRUCT
).
The behavior is undefined when used in DISPLAY ARRAY
.The parameter is a field specification, a string containing the field qualifier, with
an optional prefix
("
[table.]column
").LET buff = DIALOG.getFieldBuffer("customer.cust_name")
The input buffer can be set with:
-
A
DISPLAY TO
orDISPLAY BY NAME
instruction -
The
FGL_DIALOG_SETBUFFER()
function (only for the current field)