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)
}
}