Consultor Eletrônico



Kbase P9679: How to dynamically add a buffer to a dynamic query, having table name
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/12/2008
Status: Verified

GOAL:

How to dynamically add a buffer to a dynamic query, having table name

FIX:

From a table name get the buffer handle with:
DEF VAR hBuf AS HANDLE.
DEF VAR cName AS CHAR.
cName = "customer".
CREATE BUFFER hBuf FOR TABLE cName.
Now the buffer handle can be added to query using ADD-BUFFER.