Data.DB.TField.GetHasConstraints

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetHasConstraints: Boolean; virtual;

C++

virtual bool __fastcall GetHasConstraints();

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Returns whether field values are constrained.

The GetHasConstraints method is used to determine whether the field component imposes custom constraints, imported constraints, or a default expression. GetHasConstraints returns True if the CustomConstraint, DefaultExpression, or ImportedConstraint property is set. Otherwise, HasConstraints returns False, indicating that no constraints on field values are implemented.

GetHasConstraints is the protected getter implementation for the HasConstraints property.

See Also