RecordSet.isFullyPopulated()
Returns true if the RecordSet object is fully populated or false if the RecordSet object is not fully populated.
Method. Determines whether a RecordSet object is fully populated, that is, has all its records. Local RecordSet objects are always fully populated. RecordSet objects provided by application servers are fully populated after all of their records have been downloaded from the application server.
A RecordSet object must be fully populated before you can use any of the following data editing and manipulation methods:
This method is functionally identical to the RecordSet.isLocal method.
The following example demonstrates the isFullyPopulated method using a local RecordSet object:
#include "NetServices.as"
var productList =new RecordSet(["ProductName","Price","Color"]);
var itemToAdd = {ProductName:"magicbubbles",Price:1,Color:"0x987654"};
var itemToAdd2 = {ProductName:"kiddyshampoo",Price:7,Color:"0x876543"};
productList.addItem(itemToAdd);
productList.addItem(itemToAdd2);
if (productList.isFullyPopulated())
{
editButton.enable();
}
RecordSet.isLocal, RecordSet.getLength
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/asDict36.htm