Checking constraints

Previous Next

You can have your constraint checked by USoft Definer to see if you have made an error when defining it. This is standard practice.

If there are no errors, the checker will set Correct = Yes for your constraint. You cannot set this flag other than through the checker. The Correct = Yes setting will persist until you next make a change to the constraint, at which time you will need to check it again.

Constraints that have Correct = No are ignored at runtime.

Constraints have an Active flag, that you can set or unset manually. Constraints that have Active = No are ignored at runtime.

Good practice is to AVOID having any constraints in your application that have Correct = No but Active = Yes.

collapseChecking a domain constraint
collapseChecking a table constraint

 

See also

Defining constraints

Constraints