This: <cfset var returnStruct = StructNew()>
<cfset returnStruct.query1 = query1> <cfset returnStruct.query2 = query2> <cfreturn returnStruct> Or this: <cfset var returnArray = ArrayNew(1)> <cfset returnArray [1] = query1> <cfset returnArray [2] = query2> <cfreturn returnArray > Should do it. Adrian Building a database of ColdFusion errors at http://cferror.org/ -----Original Message----- From: Rick Faircloth Sent: 30 October 2008 01:30 To: cf-talk Subject: cfreturn "2" query values from CFC? Hi, all... If I'm running two queries inside a function, how do I return both query values? Query 1: get_properties Query 2: get_all_photos <cfreturn get_properties /> <cfreturn get_all_photos /> Can there be two cfreturn's? or, perhaps, <cfreturn get_properties, get_all_photos /> ??? Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314595 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4