Release 10.1A: OpenEdge Development:
ADM Reference

> ## Name character table

> The Name Character table (table type 4) is similar to the Name native data type table. However, in the Name character table, the value of the parameter is provided in character format rather than in the native data type. Example A–11 illustrates the definition of the Name Character table.

> Example A–11: Name character table definition
>      DEFINE TEMP-TABLE ttCallParam NO-UNDO
>         FIELD cParamName     AS CHARACTER
>         FIELD cValue         AS CHARACTER
>         INDEX pudx IS UNIQUE PRIMARY
>           cParamName.
>     The following example illustrates setting up data in the name character table
>     type:
>     /* Include the temp-table definition */
>     {src/adm2/calltables.i
>      &PARAM-TABLE-TYPE = "4"}
>     /* Create the parameter values into the parameter value table */
>       CREATE ttCallParam.
>       ASSIGN
>         ttCallParam.cParamName = "pcChar"
>         ttCallParam.cValue     = "aaa"
>       .
>       CREATE ttCallParam.
>       ASSIGN
>         ttCallParam.cParamName = "piInt"
>         ttCallParam.cValue     = "12"
>       .
>       CREATE ttCallParam.
>       ASSIGN
>         ttCallParam.cParamName = "phHndl"
>         ttCallParam.cValue     = ?
>       .

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095