AddRestriction
The AddRestriction command adds a restriction to the item type specified as the active type.
Components of AddRestriction
A group view displays the components of the AddRestriction command.
The AddRestriction element has as an attribute the complete type name of the type to which the restriction is to be added. The AddRestriction command then has a "ValueRestrictions" , "RangeRestrictions" , or "CharRestrictions" command.
- Example
-
<AddRestrictions CompleteTypeName="Acc't#Qual'rCd Element Data"> <ValueRestrictions> <Value Description="Life Insurance">07</Value> <Value Description="Retirement Acct">08</Value> </ValueRestrictions> </AddRestrictions>