REJECT-CHANGES( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Rejects changes to the data in one temp-table or all temp-tables in a ProDataSet object.
Return type: LOGICAL
Applies to: Buffer object handle, ProDataSet object handle
Syntax
|
When you reject changes on a ProDataSet object handle, the AVM uses the before-image table to back out changes from the after-image table, and empties the before-image table for each table in the ProDataSet.
When you reject changes for a Buffer object handle, the AVM uses the before-image table to back out changes from the after-image table, and empties the before-image table for that one table.
As the AVM rejects changes, it sets the BEFORE-ROWID attribute of every row in the after-image table to the Unknown value (?), and sets the ROW-STATE of
every row in the after-image table to ROW-UNMODIFIED (0). Note: When executing the method, there is no guarantee as to the contents of the buffers
involved after the method finishes executing.