Instructions for use
Contingent values are primarily applied in attribute editing, enabling mutual constraints between multiple fields. During attribute editing, only values satisfying these contingent value constraints are valid. If a dataset has contingent values set, during attribute editing, the program will automatically filter values to show matches based on the defined conditions.
For example, in land data management, setting contingent constraints between a primary feature field and secondary feature field: If the primary land type field selects "Cultivated Land", the program will show matches for the secondary land type field based on the set contingent values, such as Dry Land, Paddy Field, etc. If the primary land type field selects "Forest Land", the secondary land type field will display options like Arbor Forest Land, Shrub Forest Land, etc. This restricts input values through logical associations between fields, avoiding unreasonable data input and improving data entry efficiency.
Access Point
- Dataset context menu->Browse Attribute Table.
Operating Steps
- Double-click a cell in the attribute table to start editing.
- Click the dropdown list of the cell to view available values, which will be grouped by exact match and partial match:
- Exact Match: These values are at the top of the list, belonging to valid combinations with exact matches for all other contingent value fields in this row.
- Partial match: If a partial match exists, pointing to it opens a list grouped by match field. A partial match is a valid value corresponding to a single constraint value already entered. If you input a value from a partial match, it only ensures validity for the corresponding two cells, not all fields in the contingent value group; additional matching edits are required to make the record valid.
- If you need to view all value combinations in the domain, click Show All at the bottom of the list to display all values in the field domain. To switch back to viewing only matching values, click Show matches at the bottom of the list.
- Contingent values can be applied in any field order. After entering one field, subsequent selections for remaining fields are filtered based on valid combinations defined by the contingent values for the data.
- After completing the input of all field values, if the entered values do not comply with the contingent value constraints, the attribute table cannot be updated successfully, and a pop-up window will prompt which constraint is not met.
Note:
If the condition in the dataset is non-restrictive, meaning Limit field input was not checked during condition creation, the attribute table can still be updated successfully even with values that violate the contingent value constraints.
- In the attribute table context menu contingent values item, the following options are provided: Show only condition value fields, Highlight invalid values, Update other fields automatically
- Show only condition value fields: If selected, only fields with contingent values set will be shown in the attribute table, and other fields will be hidden.
- Highlight invalid values: If selected, it will highlight invalid combinations in the table.
- Update other fields automatically: This is checked by default. When a unique combination is encountered, it will automatically fill in the remaining fields.
Related Topics
Import/Export Contingent Values