Consultor Eletrônico



Kbase P57018: enablePagesinFolder doesn't work with Dynamics 2.1
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/3/2003
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A

SYMPTOM(s):

enablePagesinFolder doesn't work with Dynamics 2.1

CAUSE:

The TARGET-PROCEDURE handle had been changed in the code to point to the container super procedure rather than the container itself.

This was being changed by a SUBSCRIBE statement in the super procedure of the following form:

SUBSCRIBE TO <event> IN <container Handle>.

Since this was being executed in the super procedure, this was changing the TARGET-PROCEDURE to the super procedure itself. Subsequently the code was not working correctly.

FIX:

To retain the container as the TARGET-PROCEDURE the subscribe should be:

SUBSCRIBE PROCEDURE TARGET-PROCEDURE TO <event> IN <container Handle>.