FirstRow Attribute
Data Type: integer
4GL Access: R
The FirstRow attribute returns the number of the first row in the object (the row with the smallest sequence number).
When you mark a row deleted, OpenROAD moves the row to the start of the array and assigns it a nonpositive sequence number (0, -1, ...) within the array. Consequently, if the array contains one row marked deleted, FirstRow returns zero. If the array contains more than one row marked deleted, FirstRow returns a negative number. If there are no rows marked deleted in the array or if the array is empty, FirstRow returns one.
This attribute supersedes the
FirstRow Method.