LEXICON Command
Reference Manual
User Defined Attributes
:
Valid Values and Valid Ranges
: Valid Values
Valid Values
The valid values for a text or word UDA can be defined by creating UVALID elements below a UDA.
The attribute of a UVALID element is:
UVVAL - valid value.
If the administration requires multiple validation criteria then multiple elements must be created. The following example will create a UDA which will allow values "Warning", "Danger", or "Caution":
Example:
NEW UDA /STAT UTYP TEXT
Create a new Text UDA
UDNA 'STATUS'
ULEN 10
RPTX 'STATUS'
ELE ADD EQUI STRU SUBS PIPE ZONE SITE
NEW UVALID /WARNING
Create a UVALID element to hold a condition
UVVAL ' WARNING'
DESC 'Condition Warning'
/STAT
Navigate back to UDA element
NEW UVALID /DANGER
Create a second UVALID element
UVVAL 'DANGER'
DESC 'Condition Danger'
/STAT
NEW UVALID /CAUTION
Create a third UVALID element
UVVAL 'CAUTION'
DESC 'Condition Caution'
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.