Last-Row
This numeric property contains the number of the last non-empty row in the Grid control.
 
Example - Inquire a grid to get the number of rows it has
...
procedure division.
...
  inquire screen-1-gr-1 last-row ws-lr
...