Data.DB.TDataSet.Constraints
[–] Properties | |
---|---|
Type: property | |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TDataSet |
Delphi
property Constraints: TCheckConstraints read FConstraints write SetConstraints;
C++
__property TCheckConstraints* Constraints = {read=FConstraints, write=SetConstraints};
Description
Specifies record-level constraints that must be met when editing the data.
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.