The Dialog class / ui.Dialog methods |
Returns the total number of rows in the specified list.
The getArrayLength() method returns the total number of rows of an INPUT ARRAY or DISPLAY ARRAY list. The name of the screen array is passed as parameter to identify the list.
DIALOG DISPLAY ARRAY custlist TO sa_custlist.* BEFORE ROW MESSAGE "Row count: " || DIALOG.getArrayLength("sa_custlist") ... END DISPLAY INPUT ARRAY ordlist TO sa_ordlist.* BEFORE ROW MESSAGE "Row count: " || DIALOG.getArrayLength("sa_ordlist") ... END INPUT ...