[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TCheckConstraint.ErrorMessage

Message to display when the constraint is violated

## Declaration

Source position: db.pas line 1095

`published property TCheckConstraint.ErrorMessage : string read FErrorMessage write FErrorMessage;`

## Description

ErrorMessage is used as the message when the dataset instance raises an exception if the constraint is violated.

## See also

TCheckConstraint.CustomConstraint |  | User-defined constraint

Documentation generated on: May 14 2021