Merges a single changed row from a source ProDataSet object loaded with the GET-CHANGES( ) method into the corresponding row in the original (target) ProDataSet temp-table buffer.
Return type:
Applies to: Buffer object handle (of the source ProDataSet)
change-handle:MERGE-ROW-CHANGES ( original-handle , copy-all-mode )The AVM uses original-handle only to match to the original table currently associated with change-handle (specified in the ORIGIN-HANDLE attribute). The current row in this table is ignored.An optional logical expression, where TRUE indicates that the AVM always merges the row.If the ERROR attribute or REJECTED attribute for the changed row is TRUE, the MERGE-ROW-CHANGES( ) method backs out the change. Otherwise, this method accepts the change by copying the after-image table row to the corresponding after-image table row 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. |