Consultor Eletrônico



Kbase P113495: Update of buffer value is not immediately reflected in dynamic browse widget
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/12/2008
Status: Unverified

SYMPTOM(s):

Using dynamic BROWSE and QUERY

BUFFER-VALUE is updated within the ROW-LEAVE event

New value of the updated buffer is not reflected in the BROWSE cell

Updated value is only displayed in the BROWSE after the ROW-LEAVE event has fired a couple of times

REFRESH() method called with ROW-LEAVE event has no effect on the values within the BROWSE

Applying the REFRESH() method outside of the ROW-LEAVE event causes changes to be displayed

Static BROWSE widget is also affected

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

CAUSE:

Bug# OE00126883

FIX:

Option #1
Reposition the query to the current result row before executing the REFRESH() method. For example:

hQuery:REPOSITION-TO-ROW(hQuery:CURRENT-RESULT-ROW).
hBrowse:REFRESH().

Option #2
Use the VALUE-CHANGED event instead of the ROW-LEAVE event

Option #3
Add the REFRESH() method to a ROW-ENTRY event which will then fire when the new row is selected

Option #4
Update the SCREEN-VALUE of the BROWSE cell to reflect the value of the buffer field