Consultor Eletrônico



Kbase P15931: How to populate a combo-box from an SDO (Smartselect Method) in an SmartDataViewer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/3/2004
Status: Unverified

GOAL:

How to populate a combo-box from an SDO (Smartselect Method) in an SmartDataViewer

FACT(s) (Environment):

Windows
Progress 9.x

FIX:

STEPS:

1) Create a SmartData Viewer with the related information within.
2) Add the SDO with the data you want to populate the combo-box with, to the viewer.
3) Right-Click on the SmartDataField object on the pallet and select SmartSelect.
4) Drop the SmartSelect on the fill-in you want to change into a combo-box.
5) Add the smart link from the h_dynselect (the SmartSelect) to the SDO.
6) Open the SmartSelect's Instance Properties.
7) Set the Key Field to the field you wish to use to relate the SDO in the viewer to the Parent SDO in the window (Just like mapping a forign field).
8) Set the displayed field to the value you would like the user to see displayed.
9) Click OK & Save.