And if you set the var thus: 

<cfset foobar = application.myCFC.myfunc()/>

And then use foobar?



-----Original Message-----
From: Richard Cooper [mailto:[EMAIL PROTECTED] 
Sent: 15 January 2007 09:09
To: CF-Talk
Subject: Re: using a query from createobject

Yep. Can be dumped fine. Get weirder though, if I wrap in IsQuery on it own
line i.e.
<cfoutput>#isQuery(application.myCFC.myfunc())#</cfoutput> 
it outputs a result of "yes"

Not really sure how I should have used this isQUery function within the
output tag though so I tried all the combinations I could think of:

NOTE: I'd made a mistake by using the hash marks in the tag.

<cfoutput query="isQuery(application.myCFC.myfunc())">
<cfoutput query="application.myCFC.isQuery(myfunc())">
<cfoutput query="application.myCFC.myfunc().isQuery(getQ)">

None of which work. I double checked this by using the cfinvoke tag and it
worked fine. But that had a returnvariable attibute. Is there a way of
settig a returnvariable attribute when using createobject()?





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:266590
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