Release 10.1A: OpenEdge Development:
Internationalizing Applications

> ## OpenEdge databases

> | To determine the code page of an OpenEdge database, here is one of several techniques:

> 1. Start the Procedure Editor.

> 2. Within the Procedure Editor, start the Data Dictionary utility, connect to the database, then exit the Data Dictionary utility.

> 3. From the Procedure Editor main menu, select Tools Data Administration Utilities Information. The Session Information window opens.

> 4. In the Session Information window, search for the Database Code Page label.

> Immediately to its right, the name of the database’s code page appears.

> Another technique is to examine the metaschema field, `_Db._Db-xl-name`. To display this field, run the following code fragment:

>     FIND FIRST _Db.
>     DISPLAY _Db._Db-Xl-Name.

> Yet another technique is to use the `DBCODEPAGE` function in a procedure, as shown in the following code fragment:

>     DEFINE VARIABLE i AS INTEGER.
>     REPEAT i=1 TO NUM-DBS:  /* For every connected database */
>       DISPLAY DBCODEPAGE(i).
>     END.

> For more information on the `DBCODEPAGE` function, see OpenEdge Development: Progress 4GL Reference .

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