DTRHELP.HLB  —  Value Expressions, Values from a Table
       You can use a value stored in a dictionary table or a domain
       table anywhere the syntax of a DEC DATATRIEVE statement allows a
       value expression.

       The format for retrieving a value from a dictionary table or a
       domain table is as follows:

       value-expression VIA table-name

       If the value expression you specify is stored as a code string in
       the table you specify, the value of the entire expression is the
       corresponding translation string in the table.

       If the table contains an ELSE clause and the value expression you
       specify does not match any code string in the table, the value
       of the entire expression is the translation string stored in the
       ELSE clause of the table.

       If the table contains no ELSE clause and the value expression
       you specify does not match any code string in the table, DEC
       DATATRIEVE displays the following message:

       Value not found from record or table.

       See the DEC DATATRIEVE User's Guide for more information about
       the creation and use of dictionary tables and domain tables.
Close Help