all groups > macromedia flash flash remoting > may 2004 >
You're in the

macromedia flash flash remoting

group:

In Progress returned from remoting recordset



In Progress returned from remoting recordset Vidal
5/24/2004 4:28:09 PM
macromedia flash flash remoting: Hello,

I'm using Remoting to return a recordset. The first 10 records are returned,
but after that "In Progress" is returned. Here's the code I'm using:


function getCustomers_Result( result )
{
result.setDeliveryMode("fetchall");
var intLength:Number = result.length;
for (var i = 0; i<intLength; i++) {
_root.grid.addItem({CustomerID:result.getItemAt(i).CustomerID});
}
}

When the records are traced you can see that [object] is returned for the
first 10 records and then "In Progress" is returned for the remaining records.
How do I replace "In Progress" with the correct record object so it displays in
the DataGrid?
Script:

function getCustomers_Result( result )
{
result.setDeliveryMode("fetchall");
var intLength:Number = result.getLength();

for( var i = 0; i < intLength; i++ )
{
var record = result.getItemAt( i );
trace( record );

}
}


Re: In Progress returned from remoting recordset tadeogutierrez
5/24/2004 8:34:42 PM
Same problem here,
MM accepts this is a bug on Dir MX2004. This problem exists since ver 8 and
MX. No workaround besides using SQL to get small recordsets.
Please let me know if there is more info about this issue.
Thanks in advance
Tadeo Gutierrez
AddThis Social Bookmark Button