Commit Method (DATATABLE)
10.5, PLBCMP GUI Only
The Commit method causes any pending deleted columns or rows to be removed from the DATATABLE. Also, any inserted columns or rows are set to a fully active state. This method is used when the DATATABLE has the TRANSACTION property is enabled. 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 a method result.
Flags Affected: EOS, OVER, ZERO
Note the following:
The EOS flag is always cleared.
A non-zero value is returned for a success and zero is returned for a failure.
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 value.
See Also: Method Syntax, DATATABLE Methods
![]() |