Data.DB.TDataSet.Constraints

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Constraints: TCheckConstraints read FConstraints write SetConstraints;

C++

__property TCheckConstraints* Constraints = {read=FConstraints, write=SetConstraints};

Properties

Type Visibility Source Unit Parent
property protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

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.

See Also