Release 10.1A: OpenEdge Development:
AppBuilder

> ## AppBuilder dialog (adeuib/_uib_dlg.p)

> Use the `adeuib/_uib_dlg.p` procedure to invoke a subset of AppBuilder’s dialog boxes:

> Calling sequence
>     RUN adeuib/_uib_dlg.p
>       ( INPUT pi_context ,
>         INPUT pc_dname ,
>         INPUT-OUTPUT pc_args
>        ) .

> ##### Input parameters

> The `adeuib/_uib_dlg.p` procedure takes the following input parameters:

> ``pi_context``

> The context ID of the object to which the dialog box will apply.

> ``pc_dname``

> A quoted character string that specifies the name of the AppBuilder dialog box to call. Valid values are:

> - `“QUERY BUILDER”` — The context ID must be for a query, frame, or browse.
> - `“COLUMN EDITOR”` — The context ID must be for a browse.
> - `“EXTERNAL-TABLES”` — The context ID must be for a procedure.

> ##### Input/output parameters

> The `adeuib/_uib_dlg.p` procedure uses the following input/output parameters:

> ``pc_args``

> A character string to send to the dialog box. For the Column Editor or the External Tables dialog box, you can send a `table-list`, which is a comma-separated list of tables. For the Query Builder, you can specify a `mode`, which is a comma-separated list having the following syntax:

> Syntax
>     { ? | NORMAL | QUERY-ONLY | CHECK-FIELDS }
>       [ NO-FREEFORM-QUERY ]

> - ? — The default. Changes the Query Builder to `NORMAL` mode. For queries, this means that the Fields button is disabled; for browsers, it means that all fields that are Query Builder options are enabled.
> - `“NORMAL”` — Changes the Query Builder to `NORMAL` mode. For queries, this means that the Fields button is disabled; for browsers, it means that all fields that are Query Builder options are enabled.
> - `“QUERY-ONLY”` — Specifies that the Query Builder be in `QUERY-ONLY` mode. This means that the fields button is disabled.
> - `“CHECK-FIELDS”` — Specifies that the Query Builder be in `CHECK-FIELDS` mode. This means that if you try to leave the Query Builder and have not selected any fields, you are prompted to select fields.
> - `“NO-FREEFORM-QUERY”` — Specifies that the Freeform Query button must be disabled.

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