Consultor Eletrônico



Kbase P58170: Error: Could not evaluate procedure handle expression while trying to execute . (2125) when trying t
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/07/2004
Status: Unverified

SYMPTOM(s):

Error: Could not evaluate procedure handle expression while trying to execute <internal-procedure>. (2125) when trying to run a SmartViewer internal procedure on the choose of a button.

The Button object is on the main window (Page 0) and the SmartViewer object is on (page 5) of a SamrtFolder.

The code generating the error is similar to:

RUN MyInternalProcedure IN hSmartViewerHandle.

CAUSE:

By default, the handles of the objects on page 5 of the SamrtFolder are not accessible from page 0 without additional code.

FIX:

Insert the statement RUN selectPage( INPUT 5 ) before invoking the internal procedures or functions of the SmartViewer on page 5:

RUN selectPage( INPUT 5 ).
RUN MyInternalProcedure IN h_vcust2000.