Consultor Eletrônico



Kbase P10497: Setting SCREEN-VALUE of RowObject field in SmartDataViewer fails to save the new value to the databa
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

Setting SCREEN-VALUE of RowObject field in SmartDataViewer manually after the RUN SUPER statement of the addRecord procedure

Contents of RowObject field on SmartDataViewer not being saved

CAUSE:

Only fields that have their MODIFIED attribute set to TRUE are saved

FIX:

After setting the RowObject fields SCREEN-VALUE set the MODIFIED attribute of the RowObject Field to TRUE. For example,

RowObject.SomeField:SCREEN-VALUE = "Some Value".
RowObject.SomeField:MODIFIED = TRUE.