TC_CONTROL_SYNC_LEVEL

This variable determines which VALUE data items in a Screen Section are updated when a BEFORE, AFTER or EXCEPTION procedure executes. (This variable only affects BEFORE, AFTER and EXCEPTION procedures. The values of all variables are made current anytime an ACCEPT terminates.) The possible values for TC_CONTROL_SYNC_LEVEL are:

1 (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 executing any BEFORE, AFTER or EXCEPTION procedure.

For best performance, Acucorp recommends leaving this variable at its default setting of "1" unless that causes your program to perform incorrectly. In which case, you can increase the setting of TC_CONTROL_SYNC_LEVEL to 2 or 3 to adjust for problems in the application behavior.

Note: Alternatively, you can directly INQUIRE the value of a control in an embedded procedure. This allows you to tune application performance more precisely than TC_CONTROL_SYNC_LEVEL will allow.

For more information about the thin client, refer to the AcuConnect User's Guide.