Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / June 2006



Tip: Looking for answers? Try searching our database.

Recordset Manipulation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nmariano - 07 Jun 2006 13:44 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.