Merges the changed rows of all temp-tables or a single temp-table in a source ProDataSet object loaded with the GET-CHANGES( ) method into the corresponding rows of all temp-tables or a single temp-table (respectively) in the original (target) ProDataSet object.
Return type:
Applies to: Buffer object handle, ProDataSet object handle (of the source object)
change-handle:MERGE-CHANGES ( original-handle , copy-all-mode )An optional logical expression, where TRUE indicates that the AVM merges all rows of the source after-image table.If the ERROR attribute or REJECTED attribute for a changed table is TRUE, the MERGE-CHANGES( ) method backs out the changes. Otherwise, this method accepts the changes by copying the after-image table rows to the corresponding after-image table rows in the original ProDataSet temp-table. The AVM also sets the BEFORE-ROWID attribute of the row in the after-image table to the Unknown value (?), sets the ROW-STATE of the row in the after-image table to ROW-UNMODIFIED (0), and removes the before-image table row (if it has one).
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |