I have a CFC that I have put all of my stored procedures into. I then input the 
CFC into the application scope for use throughout my application. The issue I 
have is that I can reference the query in a cfdump like this <cfdump 
var="#application.queries.testquery()#"> and it will dump the query. I can do 
isquery(application.queries.testquery()) and it returns yes, but when I do 
<cfoutput query="application.queries.testquery()"> or <cfoutput 
query="#application.queries.testquery()#"> it throws an error. I can set the 
method to a local variable and then I'm able to reference the query, but it 
would be nice to use the method without having to move it to a local variable. 
Has anyone ran into this issue?


Bob

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185335
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to