Description
Installs transaction and domain validation controls for a table.
Syntax
Control_On (tablelist, tempflag)
Parameters
The Control_On routine has the following parameters.
Parameter | Description |
---|---|
Tablelist | A table or list of tables to which to add transaction control. |
Tempflag | If 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
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