Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : PREFER-DATASET attribute
 

PREFER-DATASET attribute

Specifies whether the AVM ignores modifications to the data currently in the data source when saving changes from a ProDataSet temp-table buffer to the associated data source using the SAVE-ROW-CHANGES( ) method. The default value is FALSE.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: Data-source object handle
If TRUE, the AVM ignores the data currently in the data source and automatically accepts the data from the ProDataSet temp-table buffer.
If FALSE, the AVM compares the before-image of the data in the ProDataSet temp-table buffer, saved while tracking changes for the buffer, to the corresponding data source buffer to determine whether the data in the data source has changed since being read. The AVM evaluates any data source changes to determine whether or not a data conflict exists based on the MERGE-BY-FIELD attribute setting (that is, on either a field-to-field or buffer-to-buffer basis).