Try OpenEdge Now
skip to main content
ProDataSets
ProDataSet Attributes and Methods : Enhanced query support for ProDataSet buffers : TOP-NAV-QUERY attribute
 

TOP-NAV-QUERY attribute

You can get or set the default navigation query for a top-level ProDataSet temp-table buffer using the TOP-NAV-QUERY attribute. A top-level buffer is a ProDataSet object buffer that is not a child in any active Data-Relation. There may be one or more top-level buffers in a ProDataSet object.
This syntax is used to assign a query to the top-level buffer:

Syntax

TOP-NAV-QUERY( index|buffer-name ) [ = query object handle ]
To identify a top-level buffer, you must supply an integer expression that evaluates to the 1-based buffer index, or a character expression that evaluates to the buffer name.