Manage Conditional Values

Instructions for use

After creating a condition, you can perform management operations such as adding, deleting, and importing/exporting condition values in the Conditional Values window. Once the conditional values are set, the data will be constrained by these values during attribute editing. Multiple conditions can exist in a single dataset. In the Conditional Values window, click the dropdown menu of the condition input box to select other conditions, allowing you to view and set conditional values for them.

When you first open the 'Conditional Values' view of the data set, you cannot directly set conditional values; the program will prompt you to create a condition first.

Function Entries

  • Workspace Manager->Dataset Context Menu->Attribute Management->Conditional Value.
  • Attribute Management Tab->Attribute Management Group->Conditional Value Button.

Operation Steps

  1. Open the Conditional Values window through the above function entries.
  2. If no conditions exist in the dataset when opening the Conditional Values window, a prompt will appear: "The condition does not exist in the current dataset. Do you want to create a condition first to start using condition values." Select Yes to open the Condition Management dialog to create a new condition for this dataset; select No to close the Conditional Values view.
  3. If multiple conditions exist in the dataset, you can click theCondition Parameters dropdown menu and select other conditions; the conditional values list displays the values for the currently selected condition.
  4. Click a blank row in the conditional values list to add a new row.
  5. If the field's domain is of type Enumeration, select a field value for each field in the condition from the dropdown menu. The menu lists all values in each field's domain, including <ANY> and <NULL>.
    • <ANY>: Means any value placed on the field is considered valid.
    • <NULL>: Means a null value placed on the field is considered valid.

    If the field domain is of type Bounds, double-click the numeric value in the cell to modify the range. The entered value must be within the domain range to succeed.

    Note:
    • If the dataset has subtypes, and the domain of a field managed in the subtype differs from that in the conditional values, the domain set in the subtype takes precedence.
  6. Repeat steps 4 and 5 to complete the creation of all conditional values.
  7. When subtypes exist in the dataset, you can use the subtype dropdown menu to switch between them and set conditional values for each subtype's fields. For details on using subtypes with conditional values, refer to Subtypes and Conditional Values Explanation.
  8. If a conditional value is already applied to attribute values in the attribute table, and you wish to retain these existing values but prevent their use in new data entry or editing, you can disable it using Disable Value. Select one or more records in the table, then click Attribute Management Tab->Conditional Value Group->Disable Value Button; the selected records will be grayed out and cannot be edited. To re-enable, select the records and click Disable Value again.
  9. The context menu provides copy, cut, paste, and delete functions. Conditional values can be copied and pasted between datasets, but the field names and domains in the target dataset's condition must match those in the source dataset for pasting to succeed; otherwise, it will fail.
  10. After completion, click the Save button in the ribbon area to save changes.
    Note:
    • Duplicate records are not allowed in a condition's values. If duplicates exist, a prompt will appear during saving: "Save failed. Duplicate conditional value records exist; please delete them before saving.".
    • Since fields used in conditional values have domains, if these domains change—such as switching to another domain or altering encoded values—the conditional values may change:
      • If the new domain's encoded values match the original, the conditional values and referenced values in the attribute table will update automatically.
      • If encoded values do not match, the field values displayed in the attribute table and conditional values will show the original encoded values, requiring you to respecify the field values.
  11. After setting conditional values, you can export them to a CSV file for data backup and collaboration. For details on importing/exporting condition values, see: Import/Export Condition Values.

Related Topics

Condition Management

Import/Export Condition Values

Using Conditional Values