Consultor Eletrônico



Kbase P40026: Dynamics: Error 9042 when Adding a Property / Attribute to a
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/3/2004
Status: Unverified

FACT(s) (Environment):

Dynamics 2.0A

SYMPTOM(s):

Dynamics 2.0A02

Definitional TEMP-TABLE methods (ADD-NEW/LIKE) may not be called after TEMP-TABLE-PREPARE has been called unless a CLEAR is done first, and may never be called on a DEFINED static table. (9042)

Adding a Property / Attribute to a Static Subclassed SDO

CAUSE:

Wrong documentation of Standard ADM2 (not with Dynamics) was followed to achieve the new property in the sub classed Object.

FIX:

The ability to subclass an object in Dynamics was implemented in 2.0A02. Now, adding a property does not consist in adding a field to the ADMProps temp in a custom include file, but consist in declaring it in development/Attribute/Attribute Control.

Please read the book:
"Extending Object Classes in Progress Dynamics·" currently available at the following link: http://psdn.progress.com/library/white_papers/dynamicswp/index.ssp