Consultor Eletrônico



Kbase P28686: Program executes fine when run from AppBuilder, but not when
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   01/07/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Program runs just fine when executed from AppBuilder.

Same program does not execute properly when run from Procedure Editor.

There is some code placed in the Window's Main-block after the reference to the {src/adm2/windowmn.i} include file.

CAUSE:

When a Window program is run from AppBuilder, Progress runs it in persistent mode. However, when the same Window is run from Procedure Editor, it is not run persistently, which causes Progress to execute a WAIT-FOR Statement that is placed in the {src/adm2/windowmn.i} include file.

FIX:

If possible, move the code placed after the reference to the {src/adm2/windowmn.i} include file to before the reference to the {src/adm2/windowmn.i} include file. Otherwise, move it to an override copy of the initializeObject procedure.