so I have a function in a CFC that returns to rows, a type_id and a
total. I have 2 text boxes that I want to populate with those values.
Something like:
textA = the total where the type_id = 1;
textB = the total where the type_id = 2;

But how do I assign these values? I assume it's done in the return function..
public function handleTotals (event:ResultEvent):void {
    textA = event.result??
    textB = event.result??

}

I have the text boxes declared and have them bindable.
So can do I do this or do I need to make 2 functions each function
return 1 type of total? (add "where type_id = 1" and "where type_id =
2" to the queries)??

Thanks so much for the help!


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to