Syntax
AddRecord(record)
Description
Use this method to add a Record object to the JSON Array.
Parameters
| Name | Description |
|---|---|
| record | Specifies the record to add to the JSON Array as a Record object. |
Returns
None.
Example
Local Record &rPsOptions = CreateRecord(Record.PSOPTIONS);
&rPsOptions.SelectByKey();
Local PSM_JSON:Array &oArray = create PSM_JSON:Array();
&oArray.AddRecord(&rPsOptions);