Consultor Eletrônico



Kbase P43740: Dynamics: How to select a row in a dynamic browse after open
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/09/2003
Status: Unverified

GOAL:

Dynamics: How to select a row in a dynamic browse after opening the query?

GOAL:

How to reposition to a row in a browse row after opening the SDO query.

FACT(s) (Environment):

Dynamics 2.0A

FIX:

Save the RowIdent of the desired row and then after the query is reopened use fetchRowIdent to reposition, i.e.

DEFINE VARIABLE cRowIdent AS CHARACTER NO-UNDO.

cRowIdent = DYNAMIC-FUNCTION('getRowIdent':U IN hDataSource).
DYNAMIC-FUNCTION('openQuery':U IN hDataSource).
DYNAMIC-FUNCTION('fetchRowIdent':U IN hDataSource, cRowIdent, '':U).