Require unique values for a field
The system allows you to require that a field's values be unique. When this is done, the system will not let two records have the same value for that field.
시작하기 전에
이 태스크 정보
By default, fields are created without this constraint. A field can have unique values only if there aren't already duplicate values in the database for that field. The system doesn't allow you to make a field unique while there are duplicate values in the table.
The system also doesn't allow you to add a unique index if a non-unique index already exists. In this scenario, you can't select the Unique check box on the form; instead, the system directs you to the Tables & Columns module, so you can drop the non-unique index, and then create the unique index.
프로시저
- Verify that no records in the table for the field have values, or that they all have the same value.
- Right-click the field label in the form and select Configure Dictionary.
- Configure the form to add the Unique field if it does not already appear.
- Select the Unique check box.
- Update.