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

AUTO-SYNCHRONIZE attribute

Indicates whether the AVM automatically synchronizes a hierarchy of queries on a ProDataSet temp-table buffer.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: Buffer object handle
Set to TRUE to synchronize the related buffers automatically. The default is FALSE.
When AUTO-SYNCHRONIZE is TRUE and a new row is placed in the buffer, the synchronize action occurs. The event handler is called when the buffer has a CREATE, DELETE, RELEASE, FIND, FOR-EACH, QUERY GET, or BUFFER-COPY run on it.
If the BUFFER-COPY is part of a FILL operation, a before-image operation (such as SAVE-ROW-CHANGES), or a deep-copy during parameter passing or COPY-TEMP-TABLE, then the synchronize action does not occur.
If you perform a manual FILL operation using BUFFER-COPY, you can prevent the query hierarchy from being synchronized unnecessarily by setting the AUTO-SYNCHRONIZE attribute to FALSE.
Note: If the buffer is not dynamic and is not associated with a ProDataSet, then AUTO-SYNCHRONIZE returns the Unknown value (?).