A script-enabled browser is required for this page to function properly.

SYNCHRONIZE Built-in

Description

Synchronizes the display's screen with the internal state of the form. That is, SYNCHRONIZE updates the screen display to reflect the information that Oracle Forms has in its internal representation of the screen.

Syntax

SYNCHRONIZE;

Built-in Type unrestricted procedure

Enter Query Mode yes

Parameters

none

SYNCHRONIZE Restrictions

SYNCHRONIZE only updates the screen display if both of the following conditions are true:

Note: Use SYNCRHONIZE with caution. Each call to SYNNCRHONIZE generates a network round-trip between the application server and the Forms Java client.

SYNCHRONIZE Example

/*

** Built-in: SYNCHRONIZE
** Example: Achieve an odometer effect by updating the
** screen as an items value changes quickly.
** Without synchronize, the screen is typically
** only updated when Oracle Forms completes all trigger
** execution and comes back for user input.
*/
BEGIN
FOR j IN 1..1000 LOOP
:control.units_processed := j;
SYNCHRONIZE;
Process_Element(j);
END LOOP;
END;