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