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:
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.