Kbase P24079: Multiple-selection Browse returns incorrect screen-value for columns after Reposition-to-rowid()
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/4/2009 |
|
Status: Verified
SYMPTOM(s):
Multiple-selection Browse returns incorrect screen-value for columns after Reposition-to-rowid()
Repositioning query to a row that has been selected in the browse.
SCREEN-VALUEs of browse columns don't change to the row that is repositioned to after doing a Select-focused-row()
FACT(s) (Environment):
In Progress 9.1C and earlier releases, SCREEN-VALUEs of browse columns do show correct values for record selected with Select-focused-row()
Progress 9.1D
Progress 9.1E
OpenEdge 10.x
Windows
CHANGE:
Upgraded from Progress 9.1C to a later release
CAUSE:
Bug# OE00089005
CAUSE:
In 9.1C, a reposition-to-rowid() on the query of a multiple-selection browse would clear the selection in that browse.
In 9.1D this was changed and the selection remains.
This makes it much more noticeable that the a select-focused-row() for an already selected row is ignored.
The row will not be set as the last selected row, and therefore it will not be the row the browse references when retrieving values from cells.
FIX:
Deselect the row before "re-selecting" it, so:
QUERY [browse]:REPOSITION-TO-ROWID([rowid]).
BROWSE [browse]:DESELECT-FOCUSED-ROW().
BROWSE [browse]:SELECT-FOCUSED-ROW().