Associating default values and domains with tables and feature classes
Once you have created an attribute domain, or domains, you can associate both the domain and its default values with fields in a table or feature class. Once a domain is associated with a feature class or table, an attribute validation rule is created in the database.
The same attribute domain can be associated with multiple fields of the same table, feature class, or subtype and can be associated with multiple fields in multiple tables and feature classes.
Steps:
- In the Catalog tree, right-click the table or feature class with which you want to associate domains.
- Click Properties.
- Click the Fields tab.
- Click the field for which you want to create a default value and associate a domain.
- Click the field next to Default value, and type the default value.
- If you don't want to associate a domain with the field, skip to step 9.
- Click the field next to Domain, click the drop-down arrow, then click the domain you want to associate with the field.
- Repeat steps 4 through 7 until you have associated default values and domains for all fields that you want to have these properties.
- Click Apply.
Only those domains that apply to this field type are displayed in the list.
Tip:
Not all the objects in a table or feature class must have the same domains or default values applied to the same fields. To apply different domains and default values to the same field in a single table or feature class, you must create subtypes.
Related Topics
2/10/2012