After setting subtypes for a dataset, when using condition values, you can set condition values for each subtype separately, which restricts the valid values that can be input for fields within the subtypes.
When using them, adding or deleting subtypes, as well as setting value ranges, may affect the use of condition values. The specific situations are described below:
Adding Subtypes
- If a dataset has condition values set before creating new subtypes, the existing condition values will be retained. When switching back to the condition values window, a dialog box will pop up prompting you whether to apply the original condition values to the default subtype. If not applied, the original condition values will be cleared.
- If a dataset had subtypes set previously, the subtypes were deleted and then re-added, the following two situations may occur:
- First, if the codes of the newly added subtypes can completely match the codes of the subtypes applied in the original condition values, the corresponding conditions will be matched according to the original codes.
- Second, if the codes of the newly added subtypes do not match those in the original condition values, it will be handled in the same way as in situation 1.
Deleting Subtypes
When a dataset has subtypes and condition values set, and then the subtypes are deleted, the condition values will be merged based on the conditions. For example, if condition 1 applied to subtype 1 and subtype 2, after the subtypes are deleted, the condition values under subtype 1 and subtype 2 will be merged into one.
Range
If the range managed in the subtype settings differs from the range managed in the condition value settings, the range set in the subtypes will take precedence.