|
Command Help |
Command Name |
Menu |
Quick Key |
Link to Command Table |
open-validation-file |
Applications|Grade Control |
ova |
Description
Opens a validation file.How to use
When a validation file has been opened and it is being used, (see validate-onthefly-switch), then when data is being defined or edited the values supplied by the user are constrained by the contents of the validation file. In order to validate or constrain a numeric attribute called ZONE between 1 and 6 with a default value of 4 the validation would contain one record for the attribute ZONE containing the following values:
- ATTNAME - ZONE
- ATTTYPE - N
- MIN - 1
- MAX - 6
- DEFAULT - 4
- VALUE - Not used for numeric attributes.
To constrain an alphanumeric attribute called LITHO to have values of LIME, GRANITE or QUARTZ the validation file would have three records. For each of the three records ATTNAME would be "LITHO" and ATTYPE would be "A". VALUE would be "LIME", "GRANITE" and "QUARTZ" in each of the records. MIN and MAX fields are not used for alphanumeric attributes.
For the validation file to be used the validate-onthefly-switch must be ON and the attributes must exist on the string or point data. Attributes can be added using the add-attributes command.