RemoveRow Method
The RemoveRow method permanently deletes the specified row from the array and from any table field using the array.
This method has the following syntax:
integer = ArrayObject.RemoveRow(rownumber = integer)
This method has the following parameter:
rownumber
Specifies a value that can be any sequence number in the array, positive or nonpositive
After you remove a row, OpenROAD adjusts the row numbers of the remaining rows appropriately. For example, if you remove row 6, row 7 becomes row 6. Similarly, if you remove row -4, row -5 becomes row -4.
RemoveRow returns ER_OK if successful, or ER_ROWNOTFOUND if the row does not exist. Descriptions of system constant values and their numeric equivalents are listed in
Error Codes (see
Error Codes).
For a discussion of using this method, see the Programming Guide.