Syntax
AddRowset(rowset)
Description
Use this method to add a Rowset object to the JSON Array.
Parameters
Name | Description |
---|---|
rowset | Specifies the rowset to add to the JSON Array as a Rowset object. |
Returns
None.
Example
Local Rowset &rsOperDefn = CreateRowset(Record.PSOPRDEFN);
&rsOperDefn.Fill("WHERE OPRID = 'PS'");
Local PSM_JSON:Array &oArray = create PSM_JSON:Array();
&oArray.AddRowset(&rsOperDefn);