GetRowset method: Row class

Syntax

GetRowset({n | SCROLL.scrollname})

Description

The GetRowset method creates a rowset object that references a child rowset of the current row. scrollname must specify the primary record for the child rowset.

Parameters

Parameter Description

n | SCROLL.scrollname

Specify a rowset to be used for instantiating the rowset object. You can specify either n or SCROLL.scrollname. Specifying n creates a rowset object for the nth child rowset in the row. This might be used if you are writing code that examines all rowsets in a row without being aware of the name. Specifying SCROLL.scrollname creates a rowset object for the record scrollname. scrollname must specify the primary record for the child rowset.

Note:

There is no way to predict the order the rowsets will be accessed. Use the n option only if the order in which the rowsets are processed doesn’t matter.

Returns

A rowset object.

Example

&CHILDROWSET = &ROW.GetRowset(SCROLL.QEPC_LEVEL1_REC);