Data.DB.TField.ConstraintErrorMessage
[–] Properties | |
---|---|
Type: property | |
Visibility: published | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TField |
Delphi
property ConstraintErrorMessage: string read FConstraintErrorMessage write FConstraintErrorMessage;
C++
__property System::UnicodeString ConstraintErrorMessage = {read=FConstraintErrorMessage, write=FConstraintErrorMessage};
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.