The query param in this is looking for a name...if that is returning a query, then yes...you have a complex object. If it is returning a name of a query, then you should be cool. It's looking for something like <cfoutput query="GetUser">
Eric -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, 15 January 2007 02:57 To: CF-Talk Subject: Re: using a query from createobject can't say I have ever tried that to be honest but what does #application.myCFC.myfunc()# give you if you dump it? Is it an actual query? Try an isQuery around it, are what you get. "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Richard Cooper To: CF-Talk Sent: Mon Jan 15 07:51:33 2007 Subject: Re: using a query from createobject Hi John, Sorry about that bit of a typo. That was actually the way I was calling it so my output looked like this: <cfoutput query="#application.myCFC.myfunc()#"> But I get a message that "Complex object types cannot be converted to simple values" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266655 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

