RecordSet.addItem(record)
| Parameter |
Description |
|---|---|
| record |
The record to add. |
Method. Inserts a record into the RecordSet object. When you use the addItem method, avoid the following conditions:
RecordSet object is associated with an application server and not fully populated yet.
The following example demonstrates the addItem method:
#include "NetServices.as"
var productList = new RecordSet(["ProductName", "Price", "Color"]);
var itemToAdd = {ProductName: "magicbubbles"; Price: 1, Color: 0x987654);
productList.addItem(itemToAdd);
Constructor for RecordSet, RecordSet.addItemAt
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/asDict27.htm
Comments
bloomk said on Sep 27, 2003 at 5:11 PM :