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_OffAttach_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
  • No labels