Consultor Eletrônico



Kbase P162336: Dynamic buffer can be created with blank buffer name using the BUFFER-NAME option of the CREATE BUFF
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/6/2010
Status: Unverified

SYMPTOM(s):

Dynamic buffer can be created with blank buffer name using the BUFFER-NAME option of the CREATE BUFFER statement

** Unable to understand after -- "<string>". (247)

** Missing file specification after FOR keyword. (235)

PREPARE syntax is: {FOR | PRESELECT} EACH <buf> OF.. WHERE ... etc". (7324)

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Product Family

CAUSE:

Buffers can be created with a blank name which will cause problems when executing the QUERY-PREPARE method on a dynamic query.

Developers must ensure that any variables used to specify the name of a buffer are non-blank/unknown before using the buffer in a dynamic query.

FIX:

Ensure that any dynamically created buffer used in a dynamic query has a name.