AFTER ROW block

The AFTER ROW block is executed each time the user moves to another row, before the current row is left.

This control block is typically used to execute code related to a row change

When called in this block, the ARR_CURR() function returns the index of the row that will be left. You can also use the DIALOG.getCurrentRow() method.
AFTER ROW
   CALL clear_details()