I unable to display the record of a number of fields in my recordset. I need
to assign it to a variable so I could assign it to a number of texfields. I can
only get their columnames but I need to get specific records on a specific
field and row. The one I am working on has 5 fields and I wont be using any ui
components to display the text.
Thanks.
jag57 - 09 Jun 2006 19:32 GMT
Have you looked at the RecordSet documentation yet?
Hit F1 > Flash Remoting Actionscript Dictionary > All Classes > look for
RecordSet in the panel on the right.
I think the function you want would be getItemAt(index:Number). Here's how to
get the "name" for the first record.
recordset.getItemAt(0).name
nmariano - 10 Jun 2006 05:49 GMT
Yes I did. I already tried that but didnt work.
This is what I did.
var mydata:Object = RecordSet(re.result);
var rsItems:Array = mydata.items;
post_txt.htmlText = rsItems[0].post_text;
Thanks for replying.