Consultor Eletrônico



Kbase P122135: Will the callback procedure for a DataSet be found if it is in a super-procedure?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/11/2008
Status: Verified

GOAL:

Will the callback procedure for a DataSet be found if it is in a super-procedure?

GOAL:

Can a DataSet define a callback procedure and have the ABL automatically find it in the super-procedure chain?

FACT(s) (Environment):

OpenEdge 10.x
All Supported Operating Systems
OpenEdge Language Category: ProDataSets

FIX:

No. The actual callback mechanism is not implemented using the standard ABL RUN statement so the normal features that you get when using the RUN statement (like automatic walking of the super-procedure tree) do not apply. When a callback procedure is defined there is an optional parameter which specifies the procedure handle where the callback procedure is defined. If this parameter is left blank it will default to this-procedure. When the ProDataSet object invokes the callback it does a direct invocation of the internal procedure in the handle by using inline C code.