The Dialog class / ui.Dialog methods |
Sets the modification flag of the specified field.
setFieldTouched( field-list STRING, touched BOOLEAN )
The setFieldTouched() method can be used to change the modification flag of the specified field(s).
The field-list is a string containing the field qualifier, with an optional prefix ("[table.]column"), or a table prefix followed by a dot and an asterisk ("table.*").
ON ACTION zoom_city LET p_cust.cust_city = zoom_city() CALL DIALOG.setFieldTouched("customer.cust_city", TRUE) ...
ON ACTION save CALL save_cust_record() CALL DIALOG.setFieldTouched("customer.*", FALSE) ...
The modification flags are reset to false when using an INPUT ARRAY list, every time you leave the modified row.
For more details about field name specification, see Identifying fields in dialog methods.