Kbase P26355: Error (2757) when attempting to run a user-defined function from a customized SmartDataViewer's supe
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/05/2005 |
|
Status: Verified
FACT(s) (Environment):
Dynamics 2.0A
Dynamics 2.1x
SYMPTOM(s):
Getting error (2757) when running a customized SmartDataViewer
Giving up search for external user defined function '<function>' after <number> indirections. (2757)
Using the client API in a SmartDataViewer's super procedure
Included the method library (client API) in the super procedure stack
Customized SmartDataViewer calls its super procedure that runs an internal procedure, which, in turn, runs a user defined function
Check Syntax on the customized SmartDataViewer runs just fine implying that the user defined function has been properly included
CAUSE:
The viewer's custom super procedure had within its code an internal procedure that called another internal procedure referencing the Client APIs. The first procedure did not use the TARGET-PROCEDURE handle to call the second internal procedure. When the second internal procedure is called the context for finding the client API is lost because Progress was looking for the API in the context of THIS-PROCEDURE
FIX:
Run the second internal procedure using the IN TARGET-PROCEDURE handle phrase