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 / December 2004



Tip: Looking for answers? Try searching our database.

Recordset Object

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
William... - 24 Nov 2004 19:24 GMT
Hi there,

My question is a rather simple one. How can I pass a recordset result from a
service function call to a recordset object I create in actionscript. The
reason why I ask is because I want to be able to use the recordset returned
directly, instead of using components to display them.

Thanks inticipation.

Big Will...
grotto* - 11 Dec 2004 13:25 GMT
Could you just declare a variable for your recordset and assign the result to
the variable?

Another way:
I have also passed the recordset as a parameter in a function, the return
function then interacts with the result recordset to display information in a
scrollpane. Heres the object that handles the return of the recordset. Note the
third line where I pass the result to the transcriptHolder_mc. You could
substitue the variable assignment here.

function GetTranscript_Result(){
  this.onResult = function(result){
     transcriptHolder_mc.showTranscript( trans_itemType,result);
  }
 this.onStatus = function(error){
     msg="error: "+ error.description;
     transcriptHolder_mc.showTranscript("error",msg);
     error_obj.record("trn100\r"+error.description)
  }
}
 
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.