Consultor Eletrônico



Kbase P32088: error 91 with INDEXED-REPOSITION
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/17/2003
Status: Unverified

SYMPTOM(s):

Error 91 with INDEXED-REPOSITION in a browse query

** No <file-name> record is available. (91)

Using the GET statements (GET NEXT, GET PREV) or methods (GET-NEXT, GET-PREV, etc) to navigate records in an INDEXED-REPOSITION query, results in error 91.

CAUSE:

The browse is out of synchronization with the query, and so needs re-synchronization.

FIX:

If you are using GET to navigate the query, synchronization can be performed in two ways:

1. Re-opening the query.
2. After the GET statement, use REPOSITION to reposition the browse. i.e.
IF AVAILABLE <file-name> THEN
curr-record = RECID(<file-name>).
REPOSITION browse-1 TO RECID curr-record.