Consultor Eletrônico



Kbase P50100: How to create a Leave event in a DynLookup?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/10/2003
Status: Unverified

GOAL:

How to create a Leave event in a DynLookup?

FACT(s) (Environment):

Dynamics

FIX:

LookupComplete event occurs on leave of the Lookup (published by the procedure leaveLookup in lookup.p and also on return from the selection of a row in the Lookup browse in the procedure rowSelected in lookup.p).

To use this event, simply add a procedure to your Viewer's custom super procedure with the name lookupComplete. Then in initializeObject of your custom super procedure, before the RUN SUPER statement, add the following line:


SUBSCRIBE PROCEDURE TARGET-PROCEDURE TO "lookupComplete":U

IN TARGET-PROCEDURE.