Data.DB.TCheckConstraint.ErrorMessage
| [–] Properties | |
|---|---|
| Type: property | |
| Visibility: published | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TCheckConstraint | |
Delphi
property ErrorMessage: string read FErrorMessage write SetErrorMessage;
C++
__property System::UnicodeString ErrorMessage = {read=FErrorMessage, write=SetErrorMessage};
Description
Contains the text of an error message to display if data entered in a record by a user violates the constraint condition.
Use ErrorMessage to set the error message string to display in an exception message dialog if a user enters data in a record that violates a check constraint condition.