Consultor Eletrônico



Kbase P103984: ADM1: How to automatically populate and synchronize a SmartViewer with the current parent SmartBrows
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   07/05/2005
Status: Unverified

GOAL:

ADM1: How to automatically populate and synchronize a SmartViewer with the current parent SmartBrowse record values when these fields are viewed as COMBO-BOXES?

FIX:

Create a local-initialize Procedure for the SmartViewer object to populate the COMBO-BOX field before the standard behavior:
/* Code placed here will execute PRIOR to standard behavior. */
DO WITH FRAME {&FRAME-NAME}:
FOR EACH Customer NO-LOCK BREAK BY Country:
IF FIRST-OF(Country) THEN
sports.Customer.Country:ADD-LAST(Country).
END.
END.