Data.DB.TField.ConstraintErrorMessage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ConstraintErrorMessage: string read FConstraintErrorMessage write FConstraintErrorMessage;

C++

__property System::UnicodeString ConstraintErrorMessage = {read=FConstraintErrorMessage, write=FConstraintErrorMessage};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Specifies a customized error message that appears when the user tries to set a value that violates the data constraints of the field.

Set ConstraintErrorMessage to specify the message that appears when the user-supplied value for the field does not meet the constraints imposed by the server or specified in the CustomConstraint property.

See Also