RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientDataSet.Constraints Property

Specifies record-level constraints that must be met when editing the data.

Pascal
property Constraints: TCheckConstraints;
C++
__property TCheckConstraints Constraints;

Use Constraints to read or add record-level constraints to the dataset. Record-level constraints usually impose relationships between the fields in a single record. Constraints that limit the value of a single field should be added to the individual field components. 

 

TCheckConstraint 

CustomConstraint 

ImportedConstraint 

Constraining Data Values

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!