Prev Next

Attribute Constraints

Attributes can have constraints associated with them, which typically indicate such things as maximum value, minimum value and length of field. You define these constraints on the Properties window for attributes.

Access

Click on the required attribute in a diagram or the Project Browser, and use one of these methods to display the attribute 'Constraints' tab.

Ribbon

Design > Element > Properties > Properties > Constraints

Start > Explore > Properties > Constraints

Context Menu

Right-click attribute in diagram or Project Browser | Properties | Properties > Constraints

Keyboard Shortcuts

Alt+1> Constraints

Define Constraints

Option

Action

See also

Constraint

Type in the name or action of the constraint.

Type

Click on the drop-down arrow and select the appropriate constraint type.

Constraint Types

(Notes)

Type in any comments or notes concerning the constraint.

New

Click on this button to clear any displayed data from the constraint fields, so that you can define a new constraint.

Save

Click on this button to save any new data in the fields, and to clear the fields in preparation for defining another constraint. The saved constraint is added to the top of list in the second 'Constraint' field.

Constraint

Lists the existing constraints on the attribute. If you click on an entry in the list, the constraint details display in the tab fields.

Delete

Click on a constraint in the list and click on this button to immediately remove the constraint from the attribute.

Learn more