On 12/27/05, Samantha Brinkley <[EMAIL PROTECTED]> wrote:
> <CFFUNCTION NAME="getSubCategories">
>    <CFARGUMENT NAME="CatID" TYPE="numeric">
>    <CFQUERY NAME="getSubCategories" DATASOURCE="#APPLICATION.Datasource#">

You are overwriting the function with the result of the query (since
they have the same name).

If you are writing recursive functions, you *MUST* var-declare every
single variable used in your function, including implicit variables
like the query name.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

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

Reply via email to