Consultor Eletrônico



Kbase P71395: ADM2, Cannot modify a record in a SDV
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/03/2004
Status: Unverified

SYMPTOM(s):

Cannot modify a record in a SDV


SDV fields are displayed as READ-ONLY even if they appears as updatable in the SDO where they come from

In SmartWindows containing a SDO, a SDV, a SDB

CAUSE:

SmartLinks not defined correctly.

FIX:

If in your application you have the following:

- SDO
- SDV
- SDB
- dynamicToolbar

This smartLinks configuration doesn't allow you to update in the viewer but only in the browser:

SDO -> data ->SDB
SDO -> data ->SDV
dynToolbar -> navigation ->SDO
dynToolbar -> TableIO ->SDB
SDB-> update ->SDO


The configuration that allows you to update also from the viewer is achieved by changing the last two smartLinks as following:

SDO -> data ->SDB
SDO -> data ->SDV
dynToolbar -> navigation ->SDO
dynToolbar -> TableIO ->SDV
SDV-> update ->SDO


The initial smartLinks, not allowing an update from the SDV, are built up by Progress when dropping in smartWindow the following objects in the following order:

1) SDO
2) SDB
3) DynamicToolbar
4) SDV

And accepting the smartLinks proposed by the Progress Advisor.

The second configuration, allowing an update from the SDV, are built up by Progress when dropping in smartWindow the following objects in the following order:

1) SDO
2) SDV
3) DynamicToolbar
4) SDB

And accepting the smartLinks proposed by Progress Advisor