Release 10.1A: OpenEdge Development:
Progress Dynamics Getting Started

> ## Modifying the Orderline viewer

> The Orderline viewer also has several object fields on it. You must replace them with dynamic Combos or Lookups.

> | To modify the Orderline viewer:

> 1. Choose File Open Object in the AppBuilder main window.

> 2. Select the dynamic Viewer, artolviewv, then choose Open.

> 3. Rearrange the fields in the design window. Lay out the fields any way you like, but leave some room to the right of the object fields, as shown:

> ##### Adding the Order dynamic Lookup

> | To create the Order Lookup:

> 1. Select DynamicLookup from the Object Palette.

> 2. Click on the Order field in the viewer.

> 3. Choose the Create New SDF button.

> 4. Set the following values on the SmartDataField Maintenance dialog box:

> 5. Field | Value
>    --- | ---
>    SmartDataField | OrderLookup
>    Description | Order dynamic lookup
>    Product module | ds-Entity
>    Specify base query string |
>        FOR EACH art_order NO-LOCK
>        INDEXED-REPOSITION
>    Display seq. of art_order.order_code | 1
>    Key field |
>        art_order.order_obj
>    Displayed field |
>        art_order.order_code
>    Field label | Order
>    Maintenance SDO | artorfullo
>    Maintenance object | oeOrderFoldWin1
>    You build this window in the "Creating an order maintenance window" section.

>    Choose Save and exit the SmartDataField Maintenance dialog box.

> ##### Adding the Status dynamic Combo

> | To add the Status Combo:

> 1. Select DynamicCombo from the Object Palette.

> 2. Click on the Status field in the viewer.

> 3. Double-click StatusCombo on the Details tab. The SmartDataField Maintenance dialog box displays the properties for this new instance of the Status combo.

> 4. Choose Save and exit the dialog box.

> ##### Adding the Item dynamic Combo

> | To create the Item Combo:

> 1. Select DynamicCombo from the Object Palette.

> 2. Click on the Item field in the viewer.

> 3. Choose the Create New SDF button.

> 4. Set the following values on the SmartDataField Maintenance dialog box:

> Field | Value
> --- | ---
> SmartDataField | ItemCombo
> Description | Item dynamic combo
> Product module | ds-Entity
> Specify base query string |
>     FOR EACH ivm_item NO-LOCK
>     INDEXED-REPOSITION
> Display seq. of ivm_item.item_code | 1
> Display seq. of ivm_item.item_name | 2
> Key field |
>     ivm_item.item_obj
> Field label | Item
> Tooltip | Select item from list

> 5. Choose Save and exit the SmartDataField Maintenance dialog box. Your Orderline viewer should now look something like this:

> 6. Save your changes and close the design window.

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