DeleteRow Method (DATATABLE)
10.5, PLBCMP GUI Only
The DeleteRow method deletes one row from the DATATABLE. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A DATATABLE object.
return
Optional. A Numeric Variable that returns zero if the method fails.
row
Required. A decimal number or Numeric Variable that indicates the zero-based row that is deleted.
Flags Affected: EOS, OVER, ZERO
Note the following:
If the DATATABLE has the TRANSACTION property enabled, this method sets a deleted state flag for the row and adds this operation to an undo stack being maintained. Otherwise, the row and the table data are deleted.
The EOS flag is always cleared.
The ZERO flag is set if the {return} value is zero.
The OVER flag is set if the {return} variable is too small to receive the return value.
See Also: Method Syntax, DATATABLE Methods
![]() |