Rollback Method (DATATABLE)
10.5, PLBCMP GUI Only
The Rollback method causes all pending deleted and inserted data to be restored to the original 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. A non-zero value is returned for a success. Zero is returned for a failure.
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 return value.
See Also: Method Syntax, DATATABLE Methods
![]() |