ITableChecks.Clear

Syntax

Clear;

Description

The Clear method clears table constraints list.

Example

Sub Main;

Var

MB: IMetabase;

Object: IMetabaseObject;

Table: ITable;

Checks: ITableChecks;

Begin

MB:=MetabaseClass.Active;

Object:=MB.ItemById("TABLE_1").Edit;

Table:=Object As ITable;

Checks:=Table.Checks;

Checks.Clear;

Object.Save;

End Sub Main;

After executing the example, all constraints of the table are removed. The table identifier is Table_1.

See also:

ITableChecks