You can use the Constraint tab in the Attribute Editor to specify the validation rule and the default value for an attribute.
To specify the validation rule and default value for an attribute
The Attribute Editor opens.
Specifies the validation rule to attach to the selected attribute. Select the validation rule that you want from the drop-down list. You can also use the drop-down list to open the Validation Rule Editor to view or modify an existing validation rule or create a new one. If the Use Inherited Constraint check box is selected this means that this property is inherited from the attribute's domain. If you do not want this property to be inherited, simply clear the check box and select a validation rule from the drop-down list.
Specifies the default value to attach to the selected attribute. Select the default value that you want from the drop-down list. You can also use the drop-down list to open the Default Value Editor to view or modify an existing default value or create a new one. If the Use Inherited Default Value check box is selected this means that this property is inherited from the attribute's domain. If you do not want this property to be inherited, simply clear the check box and select a default value from the drop-down list.
The validation rule and default value is specified and the Attribute Editor closes.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|