but those create local variables so you may not want that.. heh
On Wed, 24 Nov 2004 12:25:51 -0600, Greg Morphis <[EMAIL PROTECTED]> wrote: > Use the <cfinvoke> function... or if you're just passing like one > variable use <cfset ie.. > <cfset myquery = application.queries.getName(form.emplid) /> > > > > > On Wed, 24 Nov 2004 13:20:40 -0400, Robert Everland III > <[EMAIL PROTECTED]> wrote: > > 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:185339 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54