Consultor Eletrônico



Kbase P11480: Workaround when can't install SP 2 for Enablefield procedure
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   29/12/2003
Status: Unverified

SYMPTOM(s):

With empty SmartDataViewer buttons within the SmartDataViewer are disabled

Enablefield procedure doesn't work after migration to 9.1D

When 9.1D Service Pack 2, 91D02, can't be installed

Progress 9.1D

CAUSE:

In 9.1D, the ADM assumed the responsibility for enabling/disabling non-db objects in viewers. In the past this was something the developer would handle, now it's something the ADM handles in enableFields and disableFields.

CAUSE:

Bug logged 20020917-021 fixed in 9.1D02
Enablefield procedure doesn't work after migration to 9.1D fixed in SP 2

FIX:

1)To enable the buttons for that SmartDataViewer only to have SDV buttons enabled:
Enable the buttons in 9.1D by overriding the initializeobject and enable the buttons.

2)To modify the behavior for all the SmartDataViewers:

In enableFields(viewer.p) comment out the block of code directly after
the following comment:
/* Enable no db fields */
In disableFields(viewer.p) comment out the block of code directly
after the following comment:
/* Disable no db fields */

##It is necessary to recompile the viewer.p.