RAD Studio VCL Reference
|
Specifies an SQL string the enforces any application-specific constraints on the field's value.
property CustomConstraint: string;
__property AnsiString CustomConstraint;
Set CustomConstraint to limit the values that the user can enter into a field. CustomConstraint must be a valid SQL search expression such as
x > 0 and x < 100
The name used to refer to the field's value can be any string that is not a reserved SQL keyword, as long as it is used consistently throughout the constraint expression.
Custom constraints are imposed in addition to any constraints to the field's value that come from the server. To see the constraints imposed by the server, read the ImportedConstraint property.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|