Consultor Eletrônico



Kbase P166557: 4GL/ABL: Error (565) executing Buffer object handle FIND-FIRST() method.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/21/2010
Status: Unverified

SYMPTOM(s):

4GL/ABL: Error (565) executing Buffer object handle FIND-FIRST() method.

** FIND FIRST/LAST failed for table . (565)

Using a dataset handle as an output from an AppServer call

Executing code similar to the following against the DATA-SET handle object returned by the AppServer procedure:

DEFINE VARIABLE hBuffer AS HANDLE NO-UNDO.
DEFINE VARIABLE iBuffer AS INTEGER NO-UNDO.
DO iBuffer = 1 TO hDs:NUM-BUFFERS:
hBuffer = hDs:GET-BUFFER-HANDLE(iBuffer).
hBuffer:FIND-FIRST().
/* Code continues ... */
END.

FACT(s) (Environment):

The FIND-FIRST() method succeeds when the code is run locally.
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)

CAUSE:

The AppServer procedure was using an old version that did not return a valid DATA-SET handle object.

FIX:

Deploy the correct procedure on the AppServer.