Consultor Eletrônico



Kbase P33720: ADM2: FIND CURRENT fails in SmartDataViewer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/07/2003
Status: Unverified

SYMPTOM(s):

ADM2: FIND CURRENT fails in SmartDataViewer

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

FIND CURRENT performed on database table

CAUSE:

The FIND CURRENT fails because the SmartDataViewer did not previously retrieve a record from the database.

This is expected behavior, since SmartDataViewers are designed to work without direct communication with the database.
The SmartDataViewer should have a data source (SDO/SBO), with which it communicates using RowObject and RowObjUpd temp-tables. It is the datasource that handles communication with the underlying database.

FIX:

Move whatever code requires database access to the appropriate location in the SDO.