The problem is most likely that your function and query have the same name. Try renaming your query, and I would strongly advise managing the scope of your query by adding this line immediately after the cfargument line: <cfset var myQuery = ""> Where myQuery is the new name you choose for the query record set.
> But the code is erroring out where getSubCategories is getting called within itself. > I'm getting "The symbol you have provided getSubCategories is not the name of a function" error. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227717 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

