isFieldModified()

For a text form field, the consoleLib.isFieldModified() system function returns YES if a specified field has been modified during the current openUI statement. For a screen array (ArrayDictionary), it returns YES if the field in the current row has been modified since the cursor entered the row.

This function is valid on commands that modify fields and does not register the effect of statements that are part of a BEFORE_OPENUI clause. You can assign values to fields in these clauses without marking the fields as touched.

Syntax

  consoleLib.isFieldModified(field ConsoleField in)
  returns (result BOOLEAN)
field
The name of a console field variable.
result
YES, if the specified form field was modified; otherwise NO.

Feedback