Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference

> ## getProductModuleList

> This function returns a list-item-pairs list of product module information for use in product module combo boxes. The default delimiter is CHR(3).

> For example, the following code:

>     getProductModuleList(INPUT 'product_module_code',
>          INPUT 'product_module_code,product_module_description,relative_path'
>          INPUT "&1 // &2 (&3) "
>          INPUT CHR(3) ).

> Returns the following result:

>     "af-aaa // ICF Root Directory (af/aaa)|af-aaa..."

> Location: ry\app\rydesmngrp.i

> Parameters:

> `INPUT pcValueField AS CHARACTER`

> The field from the `product_module` table used as the value field in the `LIST-ITEM-PAIRS`.

> `INPUT pcDescFields AS CHARACTER`

> A comma-delimited list of product module fields to display in the label portion of the `LIST-ITEM-PAIRS`. This can be a maximum of three fields.

> `INPUT pcDescFormat AS CHARACTER`

> A base string containing substitution parameters of the form`&N` used to substitute the description fields.

> `INPUT pcDelimiter AS CHARACTER`

> A delimiter used to build the `LIST-ITEM-PAIRS`. The default is `CHR(3).`

> Returns: CHARACTER

> Notes:

> - The Query String Filter Set for the session is used to determine whether or not to show Repository modules.

> - This function replaces the deprecated `productModuleList` function.

> Examples: See the `buildcomboBoxes` procedure in `af\cod\afsvwizdw.w`.

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