If you want to return just the value of a single column from a CFC, then you'd return a string (or number), depending on what it's type was. If you wanted the entire query, then you'd use query are your return type.
-----Original Message----- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2008 7:43 AM To: CF-Talk Subject: Learning about cfc's... couple of questions. So, let's see if I've got this straight. If I want to use the cfreturn result from a query in a cfc that is only *one* piece of info, (as in 'select username' I don't have to use the returntype of 'query'. But, if I want to access *all* the data returned by a query in a cfc, (as in 'select *' I have to use returntype = 'query'. Correct? Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307554 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

