RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCheckConstraint.ErrorMessage Property

Contains the text of an error message to display if data entered in a record by a user violates the constraint condition.

Pascal
property ErrorMessage: string;
C++
__property AnsiString ErrorMessage;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!