You would need to return it as a struct.  then just reference any parts of
the struct that contain the data you want.  I have one cfc that returns a
struct of arrays...
Rob

On Fri, Jun 12, 2009 at 8:25 PM, Ryan Letulle <bayous...@gmail.com> wrote:

>
> Is it a common/best practice to return multiple variables from a cfc?  Like
> if I wanted perform some processing in a cfc and return several variables.
>  For the most part I have always returned either a query or 1 variable.
>
> If so, what would be the best return type for this?
>
> Does that make sense?  I'd like to do this in the most popular way.  I feel
> like I can really consolidate some code on a certain project.
>
> --
> Ryan LeTulle
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323468
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to