getCurrentRow()

GetCurrentRow() retrieves the current row of the DISPLAY ARRAY or INPUT ARRAY list:

DISPLAY DIALOG.getCurrentRow("client_scrarr")

The method needs the name of the screen array as an argument:

DIALOG

  DISPLAY ARRAY orders TO ordes_scrarr.*

    BEFORE ROW

      MESSAGE "You’re in row #:" || DIALOG.getCurrentRow("orders_scrarr")

      ...

  END DISPLAY

  INPUT ARRAY clients TO client_scrarr.*

    BEFORE ROW

      MESSAGE"You’re in row #" || DIALOG.getCurrentRow("client_scrarr")

      ...

  END INPUT

This method effect is identical to the scr_line() function.

There is some specifics about using variables with ui.Dialog methods.

You can learn about them here.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.