TC_CONTROL_SYNC_LEVEL

This variable applies only in a thin client environment. TC_CONTROL_SYNC_LEVEL lets you control which VALUE data items are updated after an embedded procedure is executed. The setting of this variable can affect performance.

Setting     Effect
1 (the default) Only the VALUE data item associated with the current field is updated when its AFTER or EXCEPTION procedure executes.
2 Only the VALUE data item associated with the current field is updated when its BEFORE, AFTER, or EXCEPTION procedure executes.
3 All VALUE data items are updated when any BEFORE, AFTER, or EXCEPTION procedure executes.

Note that this setting affects only BEFORE, AFTER, and EXCEPTION procedures. Values of all variables are made current any time an ACCEPT terminates.

For best performance, set this variable to the default of "1". You can directly INQUIRE the value of a control in an embedded procedure if necessary.