FIRST-BUFFER attribute

Returns the handle for the first dynamic buffer in the first table containing a dynamic buffer. The table may be either a temp-table or a connected database, in that order. If no dynamic temp-table or database buffers exist in the session, it returns the Unknown value (?).

Note: Only dynamic buffers created with the CREATE BUFFER statement are chained on the SESSION system handle.

Data type: HANDLE

Access: Read-only

Applies to: SESSION system handle

There is no LAST-BUFFER attribute associated with the SESSION handle since the chain is one-directional.