Table of Contents

Control_On routine

Description

Installs transaction and domain validation controls for a table.

Syntax

Control_On(tablelist, tempflag)

Parameters

The Control_On routine has the following parameters.

ParameterDescription
TablelistA table or list of tables to which to add transaction control.
TempflagIf true, control features are added only temporarily, until the table is next accessed.




For control features to take effect, the specified tables must already be attached at the time Control_On is invoked.|

See Also

Control_Off, Attach_Table

Example

See Transaction Processing programming example.

Attach_Table ("C:\TEMPTABLE", "DATA_INTEGRITY", "", "")
GoSub ErrorHandling

Control_On ("DATA_INTEGRITY", True)
GoSub ErrorHandling

/* processing here against the DATA_INTEGRITY table will be transacted. */

Control_Off("DATA_INTEGRITY", True)
GoSub ErrorHandling