Validation Rules
PowerBuilder uses validation rules to
validate data entered into a column. You can define a validation
rule in the Database painter or the DataWindow painter.
When you define a validation rule in the Database painter,
you can use it to validate data in any table in the database in
which you defined it. If you associate the validation rule with
a column in the Database painter, the rule becomes the default for
the column and is stored in the extended attribute system
tables in the database.
When you define the validation rule in the DataWindow painter,
it overrides the default validation rule for the column in that DataWindow object.
The rule is not stored in the repository and cannot be used to validate
data in other columns in the DataWindow object.