GetRowset method: Document class

Syntax

GetRowset()

Description

Use this method to generate a standalone rowset for a relational-formatted document. The structure of the rowset matches the structure of the record mapped to the document. If the document is populated with data when GetRowset is called, then the rowset is populated with that data; otherwise, the rowset is empty.

Parameters

None.

Returns

A Rowset object.

Example

Local Document &Doc;
Local Rowset &Doc_RS;

&Doc = CreateDocument(&DocKey);
&Doc_RS = &Doc.GetRowset();