Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : ACCEPT-CHANGES( ) method
 

ACCEPT-CHANGES( ) method

Accepts 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

ACCEPT-CHANGES( )
When you accept changes on a ProDataSet object handle, the AVM makes the rows in all after-image tables the current version of those rows, and empties the before-image tables. When you accept changes for a Buffer object handle, the AVM makes the rows in the after-image table the current version of those rows, and empties the before-image table. In either case, the AVM sets the BEFORE-ROWID attribute of every row in the after-image tables to the Unknown value (?), and the ROW-STATE of every row in the after-image tables to ROW-UNMODIFIED (0).