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

SYNCHRONIZE( ) method

Synchronizes a hierarchy of data-relation queries on a parent buffer.
Return type: LOGICAL
Applies to: Buffer object handle

Syntax

hBuff:SYNCHRONIZE ( )
hBuff
The handle to any parent buffer from among the available temp-table buffers of a ProDataSet.
This method traverses the ProDataSet object hierarchy starting at buffer hBuff and reopens each data-relation query for the current parent at each lower level. Use this method to populate one or more related child buffers for the ProDataSet object buffer.
By default, if the query is associated with a browse, the synchronize action automatically refreshes the browse. If the query is not associated with a browse, the synchronize action automatically gets the first buffer in the query by invoking a GET FIRST operation. If there is a REPOSITION data relation and no browse, the synchronize action gets the next record in the query by invoking a GET NEXT operation.