Consultor Eletrônico



Kbase P11142: Globally defined preprocessors return a blank value in the A
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/03/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.1x

SYMPTOM(s):

Globally defined preprocessors in the ADM return a blank value when accessed in a SmartObject.

CAUSE:

The scope of the preprocessor only extends as far as the compilation unit. In other words, the compiled procedure. So if you have procedure proc1 and you define a global preprocessor in that procedure, its value will not be available in another procedure file proc2 that is run from proc1.

FIX:

Define a User property with SetUserProperty and getUserProperty, or add a new property for the object class to the ADMProps temp table .