RecordSet.addItem( ) Method
myRecordSet
.addItem(record
)
The addItem( ) method is the easiest way to add a new record to a RecordSet object. The record is simply appended to the end of the recordset.
The following code creates a recordset and adds one row to it using the addItem( ) method. The argument for addItem( ) is a generic object with properties that match the fields of the recordset:
#include "RecordSet.as" var myRecordset_rs = new RecordSet(["First", "Last", "Email"]); myRecordset_rs.addItem({First:"Tom", Last:"Muck", Email:"tom@tom-muck.com"});