Try OpenEdge Now
skip to main content
ProDataSets
ProDataSet Attributes and Methods : Enhanced query support for ProDataSet buffers : KEYS attribute for buffers
 

KEYS attribute for buffers

You can also us e the KEYS attribute to return a comma-separated list of key fields for a buffer, using this syntax:

Syntax

buffer-handle:KEYS.
This attribute provides a list of the fields in the unique primary index for a temp-table, and can be useful for assigning those key values to related rows. For a temp-table buffer, the KEYS attribute evaluates to a list of fields in the temp-table's unique primary index. If it has no unique primary index, then the attribute evaluates to the string ROWID.