Consultor Eletrônico



Kbase P46926: ** No record is available. (91) when using a ProDataSet
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/17/2008
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

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

Error 91 in the BEFORE-RECORD-FILL callback procedure for a ProDataSet

CAUSE:

The temp-table record is not created in the BEFORE-RECORD-FILL callback procedure

FIX:

Get the BUFFER-FIELD handle through the DATA-SOURCE and BUFFER handles:

DEFINE VARIABLE hField AS HANDLE NO-UNDO.

hField = BUFFER <temp-table>:DATA-SOURCE:GET-SOURCE-BUFFER:BUFFER-FIELD("<field-name>").

MESSAGE hField:BUFFER-VALUE.