Consultor Eletrônico



Kbase P101610: BATCH-SIZE and LAST-BATCH attributes cannot be referenced for Temp-tables in a ProDataSet
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/10/2008
Status: Unverified

SYMPTOM(s):

BATCH-SIZE and LAST-BATCH attributes cannot be set for Temp-tables in a ProDataSet

BATCH-SIZE and LAST-BATCH attributes cannot be queried for Temp-tables in a ProDataSet

**BATCH-SIZE is not a settable attribute for TEMP-TABLE. (4052)

**LAST-BATCH is not a queryable attribute for TEMP-TABLE. (4052)

**<attribute> is not a <settable/queryable> attribute for <widget id>. (4052)

FACT(s) (Environment):

OpenEdge 10.0B
OpenEdge 10.1x
All Supported Operating Systems

CAUSE:

This is an error in the documentation.
The documentation lists the attributes as part of a temp-table object, where they are in fact part of a buffer object.

FIX:

Reference the buffer instead of the temp-table, either via the Temp-table's DEFAULT-BUFFER-HANDLE attribute, or via the ProDataSet's GET-BUFFER-HANDLE() method.