Consultor Eletrônico



Kbase P25974: How to reposition a smart data viewer on the leave of the co
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/27/2003
Status: Unverified

GOAL:

How to reposition a smart data viewer on the LEAVE of a FILL-IN widget in its smart window container?

FACT(s) (Environment):

Windows

FACT(s) (Environment):

Progress 9.1D

FIX:

The following FILL-IN LEAVE event trigger repositions the smart viewer to the customer record whose number is input by the user or message "No such Customer exists" if there is no matching customer record:

DO:
DYNAMIC-FUNCTION('closeQuery':U IN h_dcust2000).
DYNAMIC-FUNCTION('assignQuerySelection':U IN h_dcust2000,
INPUT 'Customer.CustNum',
INPUT SELF:SCREEN-VALUE,
INPUT '=').
DYNAMIC-FUNCTION('openQuery':U IN h_dcust2000).
END.