CheckConstraint

Top  Previous  Next

Returns a TCheckConstraint object from the check constraints array.

 

Syntax:

function CheckConstraint(ItemIndex: Integer): TCheckConstraint;

 

Parameters:

ItemIndex is the ordinal position of the check constraint you want to retrieve from the check constraints array.  You can get the number of check constraints for the table using the CheckConstraint method.

 

The return value is a TCheckConstraint type.

 

Example:

 

scripting_ttable_checkconstraint