Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : LAST-BATCH attribute
 

LAST-BATCH attribute

Indicates whether a FILL operation on a ProDataSet temp-table retrieved the last batch of rows in its associated query.
Note: You typically use the LAST-BATCH attribute in conjunction with the BATCH-SIZE attribute. It is best to use the LAST-BATCH attribute with a top-level ProDataSet temp-table. If you use the LAST-BATCH attribute with the BATCH-SIZE attribute for a child temp-table, the parent (or ancestor) must have only one row, because the AVM restarts the BATCH-SIZE counter on a child temp-table for each parent record (as opposed to once per child temp-table).
Data type: LOGICAL
Access: Readable/Writeable
Applies to: Buffer object handle

See also

BATCH-SIZE attribute, FILL( ) method