Consultor Eletrônico



Kbase P114030: Wrong row selected in static browse after scrolling
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/1/2006
Status: Unverified

FACT(s) (Environment):

Progress 9.1D
Progress 9.1E
OpenEdge 10.0x
OpenEdge 10.1A
Windows

SYMPTOM(s):

Using a static, single-select browse widget and a static query

Query is defined with INDEXED-REPOSITION

Using "APPLY 'end' TO <browse>" to reposition to the last record in the browse widget

Selecting second to last record in the browse

Scrolling up in the browse to the first record using the Up arrow of the scrollbar

Last record of the browse becomes selected but focus remains on the second to last row after reaching the first record

CURRENT-RESULT-ROW of the query returns ? in the first instance

CURRENT-RESULT-ROW of the query is set to the last record after scrolling up to the first record

CAUSE:

This is a known issue being investigated by Development

FIX:

Option #1
Remove INDEXED-REPOSITION from the query statement. INDEXED-REPOSITION should only be used if there will be 500+ rows in the browse widget.

Option #2
Use PRESELECT in the query.

Option #3
Do not use "APPLY 'end' TO <browse>".