Consultor Eletrônico



Kbase P138688: DOC: Syntax error in the documentation description of the ProBindingSource SetFields method.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/12/2008
Status: Unverified

SYMPTOM(s):

DOC: Syntax error in the documentation description of the ProBindingSource SetFields() method.

In document "OpenEdge Development: GUI for .NET Programming", page 4-17, the syntax of SetFields() method is given as:

SetFields( INPUT include-fields AS CHARACTER, INPUT except-fields AS CHARACTER, {""|INPUT parent-buffer-hdl AS CHARACTER|INPUT parent-buffer-name AS CHARACTER} )

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.2A
Since the "parent-buffer-hdl" is a HANDLE, the correct syntax should be:

SetFields( INPUT include-fields AS CHARACTER, INPUT except-fields AS CHARACTER, {""|INPUT parent-buffer-hdl AS HANDLE|INPUT parent-buffer-name AS CHARACTER} )

CAUSE:

Bug# OE00178888

FIX:

Use the following correct syntax for the SetFields() method:
SetFields( INPUT include-fields AS CHARACTER, INPUT except-fields AS CHARACTER, {""|INPUT parent-buffer-hdl AS HANDLE|INPUT parent-buffer-name AS CHARACTER} )