Hey folks. I have this query that I want to expose through a module call to a different part of my application. Now I tried something like this: <cfcase value="GetAllCategories"> <cfset suppressLayout = true> <cfinclude template="qryGetAllCategories.cfm"> <cfset caller.getCategories = getCategories> </cfcase> and it says that I cannot convert a complex data type to a simple data type. I am not trying to, I am trying to return a query. Now this is currently on MX, but will deploy to CF 5 so I can't make it easy with a CFC or function unfortunately. Bah. Any ideas? Am I doing something wrong? Damn I hate not getting to write code like I used to.
Timothy Heald Overseas Security Advisory Council U.S. Department of State ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
